I have creating a fallback flash player for my HTML5 video player, to work on internet explorer 8. I require the ability for the user to select which video he would like to play out of a wide range, so I have tried using jQuery to change the embed flashvars value - which works fine using this code:
$('#f').attr('flashvars', 'newvideofile.mp4');
Nothing happens visually when I have ran this piece of code, however if I look at my code through inspector I can see that the flashvars value has updated to the new value.
Is there something I can do to 'reload' or 'update' the embed object as such - or is there any other alternative that someone can think of to dynamically change the embed video in the frame?
Any advice or solutions would be greatly appreciated.
Jamie