Problem with script
-
Hi,
first of all: I like your plugin! But I have one tiny problem.
I use a lot of videos with this kind of code:
<script type="text/javascript"> var snackTV_config = { displayad:0, fracautoplay:0, monetizer:0, pmode:0, userwidth:630, autoplay:'mouse', playlist:'false', hideitems:'none', type:7, publisher:'promicabana', color:'000000', bgcolor:'ffffff', font:'arial', layout:'light', videos:'1568617', revplay:false, showadctrl:false, isRTL:false } </script> <script type="text/javascript" src="https://www.snacktv.de/snacktag/snacktag.js" charset="iso-8859-1"></script>
Autoptimize kills the script, the video is not showing, even if I put the snacktag.js in the exceptional list of scripts. It strips the stuff between the <script> and </script> out. Of course it works if I check the “search for scripts only in head” option, but this solution isnt that great. Do you have a little piece of code or so for me, to fix this problem without restrictions for other parts of my site? ??
See the video in action:
https://www.promicabana.de/robert-pattinson-kein-kommentar-kristen-stewart/
Thank you!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Problem with script’ is closed to new replies.