I just found swfobject today. My company has used AC_FL_RunContent exclusively in the past and I'd like to upgrade us to swfobject. We play .f4v files in aspx pages and pass in variables, like a user's name, which displays as text in the video, and the video file to display in the flv, like myvid.f4v. I've been googling and reading this group for hours this morning, but have found no solution to my problem. It looks like the .swf is getting loaded, but the .f4v file is not. Here is my simple test code:
<html> <head> <script type="text/javascript" src="js/swfobject.js"></script> <script type="text/javascript"> var flashvars = {}; flashvars.src = "hc.f4v"; flashvars.file = "hc.f4v"; flashvars.s_video = "hc.f4v"; flashvars.poster = "imgs/vidBack.jpg"; var params = {}; params.base = "."; var attributes = {}; swfobject.embedSWF("hc.swf", "videoDiv", "768", "432", "10.0.0", false, flashvars, params, attributes); </script> <style type="text/css">#wrapper {margin:24px auto; width:768px; text-align:center;} html {background:#2d2d2d} h1{color:#ccc} h1 {font-size:1.5em} </style> </head> <body> <div id="wrapper"> <h1 style="text-align:center; font-family: Arial, Helvetica, sans-serif;"></h1> <div id="videoDiv"> <video controls="controls" poster="" width="768" height="432"> <source src="hc.f4v" type="video/mp4" /> <source src="" type="video/ogg" /> </video> </div> </div> </body> </html>
--
You received this message because you are subscribed to the Google Groups "SWFObject" group.
To view this discussion on the web visit https://groups.google.com/d/msg/swfobject/-/RnspILCwi5gJ.
To post to this group, send email to swfo...@googlegroups.com.
To unsubscribe from this group, send email to swfobject+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.