The Grey Labyrinth is a collection of puzzles, riddles, mind games, paradoxes and other intellectually challenging diversions. Related topics: puzzle games, logic puzzles, lateral thinking puzzles, philosophy, mind benders, brain teasers, word problems, conundrums, 3d puzzles, spatial reasoning, intelligence tests, mathematical diversions, paradoxes, physics problems, reasoning, math, science.

   
The Grey Labyrinth Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups    RegisterRegister  
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Embedding youtube links with different pics

 
Reply to topic    The Grey Labyrinth Forum Index -> Science, Art, and Culture
View previous topic :: View next topic  
Author Message
Dragon Phoenix
Judge Doom



PostPosted: Fri Jun 29, 2007 10:08 pm    Post subject: 1 Reply with quote

Anybody can help me? I want to embed links to YouTube videos in my blog, but with a different picture than provided by Youtube in their links. Their code:

<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/lzbw-53g2CU"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/lzbw-53g2CU" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>

Any ideas?
_________________
My photography:
http://www.flickr.com/photos/artrock2006/
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Antrax
ESL Student



PostPosted: Sat Jun 30, 2007 7:44 am    Post subject: 2 Reply with quote

Try something like this:
Code:

<object
type="application/x-shockwave-flash" data="http://www.youtube.com/v/lzbw-53g2CU"
width="425" height="350">
<param name="movie" value="http://www.youtube.com/v/lzbw-53g2CU" />
<img src="..." width="..." height="..." />
</object>   

I have no idea if this would work, but according to my short google it's a) a more standard way to embed flash in your page and b) should display an image in case the user doesn't have flash, which may also mean it'll display it until the user elects to start the movie.
_________________
After years of disappointment with get rich quick schemes, I know I'm gonna get rich with this scheme. And quick!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Dragon Phoenix
Judge Doom



PostPosted: Sat Jun 30, 2007 7:58 am    Post subject: 3 Reply with quote

Thanks, does not work though. The pic is displayed, but without any link assocuated with it and some html code is still visible on top. I tried inserting a </img> just in case, but no change.
_________________
My photography:
http://www.flickr.com/photos/artrock2006/
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Antrax
ESL Student



PostPosted: Sat Jun 30, 2007 10:15 am    Post subject: 4 Reply with quote

Interesting. Which broswer does it happen on?
Also, have you tried implanting the <img> tags in your original code, before the closing </object> tag?
_________________
After years of disappointment with get rich quick schemes, I know I'm gonna get rich with this scheme. And quick!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Samadhi
+1



PostPosted: Sat Jun 30, 2007 11:17 am    Post subject: 5 Reply with quote

Also, it's your blog but does your host block flash linking?
Or, if you have more direct control over your interface, check if that's disabled.
_________________
And he lived happily ever after. Except for the dieing at the end and the heartbreak in between.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Dragon Phoenix
Judge Doom



PostPosted: Sat Jun 30, 2007 1:18 pm    Post subject: 6 Reply with quote

Firefox.

I tried inserting the [img] tags on a few places, but no dice.
I don't think it's a host action, as the usual youtube code works. It shows the screen in the size that the video will play with an image taken from the video and an arrow, and when you press it, it starts.

Well, I have a simple fallback by linking the Youtube site to a picture and let that open in a different window. If the solution had been simple, I would have liked it, but it's not worth spending too much time one.

The usual html codes work within blogger, even the one they do not offer in their shortcut menu (such as linking a site to a pic).

Thanks for the suggestions anyway.
_________________
My photography:
http://www.flickr.com/photos/artrock2006/
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Display posts from previous: by   
Reply to topic    The Grey Labyrinth Forum Index -> Science, Art, and Culture All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Site Design by Wx3