Move script to header
-
Hello,
I need a little help with my template.I’m using Zajax (ajax plugin) to don’t load header many times and don’t stop video playing – but it loads page from <body>
The problem is that:
– when video is beetwen <body> zajax doesn’t ends loading page,
– I have used this code:
<div class="mbYTPMovie" data-property="{videoURL:'xxx', opacity:1, autoPlay:false, containment:'body', startAt:0, stopAt:0, mute:true, vol:50, optimizeDisplay:true, showControls:true, printUrl:true, loop:true, addRaster:false, quality:'default', realfullscreen:true, ratio:'16/9', gaTrack:false, stopMovieOnBlur:true}"></div>
to insert video in header and it works great.but i want to play 5 videos in BG (one by one).
SO, my question is:
– what to modyfy to move plugins php code to header ?
or
– how to add more videos to this code above ?My testing site: https://pio24.pl/kamera
- The topic ‘Move script to header’ is closed to new replies.