flash - Playing FLV video in a SWFobject -


I am migrating a personal portfolio website that shows flash video.

Everything is working fine video is not playing in the right way.

Embeds a stofobobied player to run the site.4.4 flash video.

Spoofebabes load but the video is not played.

> Here is an example of an entire code:

   & Lt; Script type = "text / javascript" src = "swfobject.js" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" & gt; Function Outstatest (Response) {console.log ("response.success =" + response.success + "\ nresponse.id =" + response.id + "\ nresponse.ref =" + response.ref)} var flashvars = { Holder: "http://127.0.0.1:8000/media/uploads/stills/XMAS-H264.jpg", BG: '', File: "Xmas_instrumental_2.f4v", Autoplay: 'wrong'} var playerId = "myContent "; Var params = {wmode: 'transparent'} swfobject.embedSWF ('player_12.swf', player id, '960', '540', '10.0.0 ',' expressInstall.swf ', flashvars, consultant, empty, outputstats ); & Lt; / Script & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; Div id = "myContent" & gt; & Lt; H1 & gt; Optional content & lt; / H1> & Lt; P & gt; & Lt; A href = "http://www.adobe.com/go/getflashplayer" & gt; & Lt; IMG src = "http://www.adobe.com/images/shared/download_buttons/get_flash_player" GIF "alt =" get Adobe Flash Player "/>    

The console response I get in the output stability function:

  response.success = true response.id = myContent response.ref = [object HTMLObjectElement]   

It seems that the flash player is loading, but the video Unable to run.

Is this an 'issue with player_12.swf' object I? Do I run the video ?

Can I diagnose what is wrong in the right way? How can it be found to work properly?

This The question [] suggests that I should go with a solution to host a third party (this is not an option) or to create a SWF that can play the video.

Answered a few years old I have to see whether a better present solution (or a good SWF test) Computer recommendation).

Thank you for your help!

The answer is still accurate SWFObject only embeds SWF files, embed (or play) FLV The files do not. It is not a player, it automates the creation of markup in your HTML.

The code below indicates that the markup has been correctly added to the page, even if the SWF is not expecting you. In other words, SWFObject did its job.

  response.success = true response.id = myContent response.ref = [object HTMLObjectElement]   

As stated in the other thread, the FLV files To run you will need to create a custom SWF to load and control the FLV, or pre-built video players such as third-party players hosted It does not have to be, I think that you gave the wrong meaning of the reaction there. You can easily control all the files and can serve them on their own server.

Why "player_12.swf" is not working, we can not answer that Action Script inside SWF. Honestly, there is no reason to change the wheel again, I want to go with a third party player because they have spent countless hours in debugging and improving their players and have more experience in your area or more.

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -