It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

Changing <video> source on two ways, none works

Changing <video> source on two ways, none works

Postby zetiks on Sat Nov 27, 2010 7:08 pm

Ok, from the beginning. I have written a HTML5 player with controls and stuff. But I have one problem. After using switch-to-HD option the controls (like full screen) stops working. And in Firebug I see strange behaviour when switching back from HD (press HD, let it load and press HD again) - it seem like every event is triggered two times, and then more and more. What can I do with all of it? And it seems that there is a 'ghost' of the player that was before, cause it still plays when I switch to HD.

The player is here: http://secondgate.pl/temporary/nttp/

I also tried differend method for switching the source, using .load(). But it seems that Firefox can't load the movie after that and Chrome sets the volume to 100%, so it didn't work either. The player from this method is here: http://secondgate.pl/temporary/tpp_004/

I would be mostly grateful for help. I know it's a lot of code, but it's all commented. I have no idea what am I doing wrong and I'm sitting like a week in front of it.
zetiks
 
Posts: 1
Joined: Sat Nov 27, 2010 7:07 pm

Who is online

Users browsing this forum: No registered users and 3 guests

cron