Answer 4
Hi Rob,
The latest version of Flash v 10.1 reads MP4, as well as flv, fv4, rtmp streams, dvr, and several other streaming formats.
I examined yr page http://iecustomizer.com/MSMVP/HTML5/HTML5Tags.aspx and understand what it is yr saying. However I don't think this is the problem merely because of the observations I have made. The primary observation is the fact that the
flash media player is loading happily. It's just when it goes to retrieve the facebook video content that the error occurs. Swapping out the video for other videos sources proves this point to, because they happily load and play fine. Last
night I uploaded to a another server I own an mp4 file:
http://www.pazooza.com/movies/snowball.mp4 and swapped it out with the src attribute in the SMP player and it plays the mp4 fine.
Interestingly i downloaded flowplayer from flowplayer.com and tried loading the facebook video and it too could not locate it. I get a stream not found error.
If you go here and scroll down to the last thread you will see the swf code I have been using:
http://forums.adobe.com/thread/772152
An adobe developer has responded thinking it maybe a referrer problem?
The gotya as I mentioned at the above adobe thread is that I took the player stuff out and just used the html 5 video tag with the src set to: http://video.ak.fbcdn.net/cfs-ak-snc6/78749/825/107419042660481_61727.mp4
and it plays the video fine in Chrome, FF and IE 9 Standards mode!
This is very weird ...
So could it still be a referrer problem now? Or does the HTML 5 video tag I performed nullify that assumption?
Whats the link to your public facebook profile Rob and ill add you as a developer so you can test it yrself.
Alternatively you can create a facebook application yourself in 3 easy steps:
1) Load the fb developers app in your facebook profile (click this link):
http://www.facebook.com/developers
2) Click create to create a new application, enter your settings etc. Select IFrame as the app type. It's probably better you upload your site to a public webserver if you have one, as doing the local host stuff can be a pain in the ____. At
the end of the day I'm using IIS with port 80 open and a dyn-dns.com address to forward traffic to my laptop to test debug etc (attach to IIS worker process and so on). I found this to be the best approach for me.
3) Download SMP (http://sourceforge.net/adobe/smp/home/) or flowplayer if you like:
if using SMP do this:
a) In the extracted zip SMP file your downloaded go to the folder "for Flash Player 10.1"
copy StrobeMediaPlayback.html, StrobeMediaPlayback.swf and the lib folder to your visual studio dev site.
b) Upload the files to your public webserver if need be
c) Run your facebook app by going to: http://apps.facebook.com/<yourAppName>/StrobeMediaPlayback.html
You should see SMP load in your facebook app and the default video that comes shipped with the player load in all browsers including Chrome, FF, Safari and IE 8 and IE 9.
d) Open StrobeMediaPlayback.html and swap the src file in the parameters array to :
http://video.ak.fbcdn.net/cfs-ak-snc6/78963/62/114948235240895_53760.mp4
e) Run it again, and you will see that it won't play...
:-(