I have a flash with a mp4 fall back that is not functioning how it should.
if flash is disabled it works great(besides some css issues, ha)
but if flash is enabled it loads both videos, now i found some ppl online with this issue but wasnt able to apply the solutions to my situation. I almost think the flash is displayed twice, plus the other, but not sure, just need a second look.
<div id="flashcontent" style="width:560px;height:425px;position:absolute;left:200;top:100;z-index:2;">
also im having issues with the controls showing up on the stock html5 player, they show up if i change the zindex, so i know that the issue. Maybe someone would see a simple fix for that with firebug as well.
here is a link to the offending page:
Nancy's right. You'll save yourself a lot of time and trouble building one solution that works in ALL formats instead of wracking your brains trying to make one that may or may not work everywhere and another that is a backup if the first doesn't function.
If they're both the same video, just go with PicklePlayer and load one video that desktops, laptops, tablets, and smartphones can all access.
I hear ya but what im trying to do is done all the time.,, changing players would be a lot of work, its deeply integrated. Im just trying to add a mp4 fallback as it only plays flash... Ppl do that all the time. I just need some help on the technical details.
But i will take a look at the player and see what it can do. Im reluctant bc the pro player im using has lots of guide and related functions i use.
But does anyone have any insight into my issue? I know its just a line or 2 rearranged
"...what im trying to do is done all the time"
That's as may be, but with more and more people uisng their phones to access websites, (and Flash doesn't work with smartphones... at all) designing with it makes less and less sense with every passing week, even if you have a workaround. All you're doing is making more work and using more space on a server for something that could be easily avoided by not using Flash at all, and going with an HTML 5, universally accessible format for the video.
Also, people with Flash blocking plugins in their browsers may not even get to the "backup" video depending on their settings. They'll just see a blank space and the plugin will block any script having to do with the Flash content. I tested this a few years ago with an SWF placed in a DIV with an animsated GIF background image in case the SWF wouldn't play. "FlashBlocker" for Firefox rendered a transparent open space in the middle of the page.
I can't offer any scripting solution for this, and even if I could I'd still advise against it, because you can't change or work around every possible setting in every possible browser/plugin combination with a script. One way or another, you'll render Flash or all of the content invisible to someone.
I have to agree with everything CF McBlob said. And I'll go one step further and tell you that what you're trying to do is completely bassackwards. Flash is normally used as a fallback for Mozilla which doesn't play MP4s. MP4s are more widely supported so they should not be used as the fallback.
Ok i did some research on players over the weekend.
I decided to go with flowplayer because my cms uses that as an option for players. I was thinking it would take long time to switch it over but it wasnt bad, i just had to update the version.
In the end it has some cool aspect ratio features and thats what im really concerned about for mobile. So thanks for the push in the right direction guys.
But i will miss flash as it DOES have some features and functionality that html5 cant provide as well.
Streaming is something that I will miss that flash could provide.
Rich interactions with the video player, i no longer have related video tabs in the player and cool "guide" options. I still would like flash first, html5 second, at least for another year or so while the "extras" catch up with html5
but all and all flowplayer seems like it can do button navigation after the video, ill devise a layout that gives recommended videos at the end and that shold suffice.
Thanks again for the tips guys. I had to sacrifice some things but i think all in all it was a good move.