Re: this.rs
Posted: Wed Nov 18, 2020 9:22 am
I can load your YouTube video and change the volume using htmlVideoControl() after loading it. Works in all browsers, even IE11.
I think you have a race condition in your scripts if you cannot do this where the volume change is never received.
UPDATE:
I've uploaded PowerPac v15.073.1 for you to try with your program. I am yet to see any errors and the ability to properly stack htmlVideoControl() calls using the NEW [delay] parameter makes XML programming much simpler and straight-forward.
While the normal use of [delay] is to let the function calculate the best value, sometimes it is better to specify one yourself. The playBetween property is one case scenario where the auto-calculation may not always work in every browser or in low bandwidth settings.
I think you have a race condition in your scripts if you cannot do this where the volume change is never received.
UPDATE:
I've uploaded PowerPac v15.073.1 for you to try with your program. I am yet to see any errors and the ability to properly stack htmlVideoControl() calls using the NEW [delay] parameter makes XML programming much simpler and straight-forward.
While the normal use of [delay] is to let the function calculate the best value, sometimes it is better to specify one yourself. The playBetween property is one case scenario where the auto-calculation may not always work in every browser or in low bandwidth settings.
tbfunction_htmlVideoLoader("screen", "youtube", false, 50, "continuous", "", "",
"", "", "https://youtu.be/51ybZjRZag4"); //Load the YouTube video with autoplay false
//Immediately call playBetween which moves playhead and starts playback (Chrome users must click to play.)
tbfunction_htmlVideoControl("screen", "playBetween", "5000,15000", 1000); //using forced delay of at least 1000ms and bypassing auto-calculation