I have just integrated the below YouTube embedded code
<param name="movie" value="http://www.youtube.com/.....">
</param>
<param name="wmode" value="transparent"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<embed src="http://www.youtube.com/....." type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" wmode="transparent" width="560" height="340"></embed>
</object>
But I also want to list my video channel on my web page. How I can do this?
try this: include this script tag where you want in you page
modifiy YourChannelName to your youtube name and the width and height of the iframe if you want
<script
src="http://www.gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/youtube.xml&up_channel=YourChannelName&synd=open&w=320&h=390&title=&border=%23ffffff%7C3px%2C1px+solid+%23999999&output=js">
</script>
Related
I don't understand. I'm trying to embed a video on my site. works perfectly on all browsers (even IE8) but not chrome... tested on several machines using windows 7
this is the embed code:
<object height="226" id="ce_93792260" width="400">
<param name="movie" value="http://current.com/e/93792260/en_US" />
<param name="wmode" value="transparent" />
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<embed allowfullscreen="true" allowscriptaccess="always" height="226"
src="http://current.com/e/93792260/en_US" type="application/x-shockwave-flash" width="400" wmode="transparent">
</embed></object>
you can see the embed on the page here: http://www.radicalislam.org/videos/american-born-baptist-now-ruthless-islamic-terrorist
found the solution.
need to delete the file(s) gcswf32.dll
don't forget to close chrome before.
source:
http://community.spiceworks.com/how_to/show/2004
Anyone knows the optimal bbcode to embed youtube videos in PHPBB3? I use the follwing:
BBCode Usage:
[youtube]http://{SIMPLETEXT1}youtube.com/watch?v={SIMPLETEXT2}[/youtube]
HTML Replacement:
<object width="560" height="315">
<param name="movie" value="http://{SIMPLETEXT1}youtube.com/v/{SIMPLETEXT2}"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<embed src="http://{SIMPLETEXT1}youtube.com/v/{SIMPLETEXT2}"
type="application/x-shockwave-flash"
width="560"
height="315"
allowscriptaccess="always"
allowfullscreen="true">
</embed>
</object>
This seems to have some issues and doesn't translate to HTML when the URL the user puts is something like http://www.youtube.com/watch?v=vS6VBOeJ-i4&feature=related.
I would like to make an HTML Replacement so it can replace the user's link into the new embed style of YouTube with the iFrame, but independent of URL attributes while also using the wmode=transparent, since I also use Shadowbox.
While riot_starter's solution works, it does not seem to work with https URLs which YouTube forces nowdays. So here is a workaround that should work in all scenarios:
BBCode:
[youtube]http{TEXT4}://{TEXT1}youtube.com/{TEXT2}v={IDENTIFIER}{TEXT3}[/youtube]
HTML:
<object width="425" height="350">
<param name="movie" value="http://www.youtube.com/v/{IDENTIFIER}&hl=en_US&fs=1&"></param>
<param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param>
<embed src="http://www.youtube.com/v/{IDENTIFIER}&hl=en_US&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="350"></embed>
</object>
This is the best version I have found so far. Works with www.youtube.com, youtube.com, regional subdomains (nl.youtube.com), and with any youtube url parameters (for example including &feature=...).
BBCode usage:
[youtube]http://{TEXT1}youtube.com/{TEXT2}v={IDENTIFIER}{TEXT3}[/youtube]
HTML replacement:
<object width="425" height="350">
<param name="movie" value="http://www.youtube.com/v/{IDENTIFIER}&hl=en_US&fs=1&"></param>
<param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param>
<embed src="http://www.youtube.com/v/{IDENTIFIER}&hl=en_US&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="350"></embed>
</object>
I use this
BBCode Usage [youtube]{IDENTIFIER}[/youtube]
HTML Replacement
<object type="application/x-shockwave-flash" data="http://www.youtube.com/v/{IDENTIFIER}" width="425" height="350">
<param name="movie" value="http://www.youtube.com/v/{IDENTIFIER}" />
<param name="wmode" value="transparent" />
</object>
Now a user can just do [youtube]oHg5SJYRHA0[/youtube] to get the video embedded into the post.
I suggest using the on the embed code not
works ALOT better!!!
tested on 3.0.11
example: http://fwkzt.site.nfoservers.com/forums/viewtopic.php?f=20&t=17&p=33&sid=2d89389670c660b3a345fd59bac5c4ff#p33
code used:
<iframe width="560" height="315" src="//www.youtube.com/embed/{YOUTUBE}?rel=0" frameborder="0" allowfullscreen></iframe>
I am using lightbox++ to load images outside of flash in order to make that work I have to set
wmode=transparent
in the object properties
But doing this lightens the gray color used in the swf..
Without adding wmode=transparent
Screenshot with wmode=transparent
Can anybody explain this behavior?
here is the whole code
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" style="display: block" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="100%" height="100%;">
<param name="movie" value="site.swf">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="allowscriptaccess" value="always" />
<param name="wmode" value="transparent" />
<param name="allowFullScreen" value="true">
<embed src="site.swf" allowfullscreen="true" wmode="transparent" menu="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100%" height="100%">
Ok I found a hint to the solution on this page
this is what i had done to fix the issue
wmode="opaque"
(by default the swf is set to be on top of all thus we have to use wmode to decide how we want to diplay the swf)
http://kb2.adobe.com/cps/127/tn_12701.html
I have the following swf loaded from HTML tag and i do not use swfobject.On Google chrome i see that only after mouse click on the html page the swf file shows up.Any one knows why or what am i doing wrong here
<div>
<object id="myMovieName" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param value="movie.swf" name="movie">
<param value="high" name="quality">
<param value="#FFFFFF" name="bgcolor">
<embed align=""
type="application/x-shockwave-flash"
name="myMovieName"
bgcolor="#FFFFFF"
quality="high"
src="movie1.swf"
href="movie1.swf">
</object>
</div>
Have you tried takeing the embed node out of the object node?
It would look like:
<object id="myMovieName" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param value="movie.swf" name="movie">
<param value="high" name="quality">
<param value="#FFFFFF" name="bgcolor">
</object>
<embed align=""
type="application/x-shockwave-flash"
name="myMovieName"
bgcolor="#FFFFFF"
quality="high"
src="movie1.swf"
href="movie1.swf"/>
Thats because OBJECT node doesn't have a EMBED child node in HTML DTD, most browsers can deal with it, but apparently chrome is not one of them, but I'm guessing here.
I have a Youtube video on my homepage, and now I need a modal to display on certain events.
For some reason, even when adding <param name="wmode" value="transparent"> to the Flash object, it still covers the HTML elements (with higher z-index too).
I've got it on JSfiddle.
I figured maybe an iframe could solve this, but that would require me to make a new page just to put the video on.
Am I doing something wrong?
Thanks
Update
Strangely, this behaviour happens on Windows Firefox and IE8. On Firefox on Mac, it renders fine.
You have both an embed and object. You need to apply the wmode to the embed.
http://jsfiddle.net/zCDVx/2/
<object width="640" height="385">
<param name="movie" value="http://www.youtube.com/v/_-wDuGDtjCc?fs=1&hl=en_GB">
<param name="wmode" value="transparent">
<param name="allowscriptaccess" value="always">
<embed src="http://www.youtube.com/v/_-wDuGDtjCc?fs=1&hl=en_GB" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385" wmode="transparent"></embed>
</object>
You need the wmode both as an object param and as part of the embed to work in all browsers.
<object width="640" height="385">
<param name="movie" value="http://www.youtube.com/v/_-wDuGDtjCc?fs=1&hl=en_GB">
</param>
<param name="wmode" value="transparent"></param>
<param name="allowscriptaccess" value="always"></param>
<embed src="http://www.youtube.com/v/_-wDuGDtjCc?fs=1&hl=en_GB" type="application/x-shockwave-flash"
allowscriptaccess="always" allowfullscreen="true" width="640" height="385"
wmode="transparent">
</embed>
</object>
Notice the 2nd to last line.
See it here.