how i embed flv player &.flv file in html? - html

js file & event on which div box is open now instead of empty div box i want to play .flv files that i download from you tube so how do I embed flv player & its control & play my .flv file in that player?

<object type="application/x-shockwave-flash" width="400" height="350"
wmode="transparent" data="flvplayer.swf?file=**vid location**&autoStart=true">
<param name="movie" value="flvplayer.swf?file=**vid location**&autoStart=true" />
<param name="wmode" value="transparent" />
</object>

Related

HTML - Undetectable Audio file

I'm adding audio tag in my HTML file. But somehow download manager showing download panel for downloading the audio file.
I'm using this code :
<audio id="BildirimSes">
<source src="/inc/beep3.mp3" type="audio/mpeg"><source src="/inc/beep3.ogg" type="audio/ogg">
<embed height="0" width="0" src="/inc/beep3.mp3" type="audio/mpeg" autoplay="false" controller="false">
<embed height="0" width="0" src="/inc/beep3.ogg" type="audio/ogg" autoplay="false" controller="false">
</audio>
My question is, how can I hide(undetectably) my audio file from download manager like IDM?
Here's a solution I found:
Download this swf player from Google :
Put this file in the same folder as the html file
Put your mp3 in the same folder
Put this below code in your html
<object type="application/x-shockwave-flash" data="player_mp3_1.0.0.swf"
width="200" height="30">
<param name="movie" value="player_mp3_1.0.0.swf" />
<param name="FlashVars" value="mp3=file.mp3" />
</object>
It will use google swf player instead and will stop IDM from detecting the audio file.

.SWF File is not showing in local html file

I have embed a swf file in the local html file but it is not showing the slideshow.
can anyone tell me what is the issue with following code.
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="943" height="290">
<param name="wmode" value="transparent">
<param name="src" value="http://www.unitedwayofgnb.org/imageRotator.swf">
<embed type="application/x-shockwave-flash" width="943" height="290" src="http://www.unitedwayofgnb.org/imageRotator.swf" wmode="transparent">
</object>

how to use play and pause in html5 for SWF format?

I am having a SWF file. I need a Play and Pause button for that UI. I tried to use <video> tag but its not working.
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="899" height="199" id="tech" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="ApparelVideo.swf" />
<param name="quality" value="high" />
<embed src="ApparelVideo.swf" quality="high" width="899" height="199" name="tech" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
Note: Play and pause should be onclick function like after loading the webpage onclick on video it has to play, it has to stop in the second onclick on video.
You can't play SWF-files using HTML5 video, because Flash isn't one of the supported video codecs (well, it isn't even a video codec).
HTML5 video is meant to play videos without using vendor specific plugins – which are required to play Flash objects.
in the last ten years a myriad of Flash video players was created and can be found online.

How to remove missing plugin error while using embed tag

As I am using embed tag in my html file but in browser it is showing missing plugin. To solve this plugin problem what can I do?
For playing FLV in html, you should use the tag. For example:
<object type="application/x-shockwave-flash"
width="320" height="240"
wmode="transparent"
data="player.swf?file=video.flv&autoStart=false">
<param name="movie"
value="player.swf?file=video.flv&autoStart=false"/>
<param name="wmode" value="transparent"/>
</object>
Player.swf is player swf file and filename is the file attribute.

playing video by embed tag in window xp

while playing video by embed tag in src mp4 and swf file are working but playing flv is not working in any browser on my window xp . please help .
<embed src="videoplayback.flv" bgcolor="#000"
type="application/x-shockwave-flash"
pluginspage="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
name="mainflash1" autostart="false" loop="false" height="450" width="450" allowscriptaccess="samedomain"
>
<noembed>Sorry, your browser doesn't support the embedding of multimedia.</noembed>
</embed>
For playing FLV in html, you should use the <object> tag. For example:
<object type="application/x-shockwave-flash"
width="320" height="240"
wmode="transparent"
data="player.swf?file=video.flv&autoStart=false">
<param name="movie"
value="player.swf?file=video.flv&autoStart=false"/>
<param name="wmode" value="transparent"/>
</object>
Player.swf is player swf file and filename is the file attribute.