-
AuthorPosts
-
davidrabinov Friend
davidrabinov
- Join date:
- January 2010
- Posts:
- 128
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 15
- Thanked:
- 1 times in 1 posts
January 13, 2010 at 3:19 pm #147626Hi,
2 questions:
1) In the template demo the videos in the tabs 2 module work fine, however when I go to change them for different ones they don’t work. A blank popup screen comes up
2) How do I set up the thumbnails?
Thank you
gray Friendgray
- Join date:
- October 2009
- Posts:
- 957
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 28
- Thanked:
- 292 times in 230 posts
January 13, 2010 at 5:07 pm #329226Videos are played from YouTube. Code is as follows
<div class=”ja-video-thumb”>{japopup type=”youtube” content=”http://www.youtube.com/v/XXXXXXXXXX” width=”640″ height=”380″ title=”YOUR TEXT COMMENTING THE VIDEO”}<img alt=”YOUR TEXT COMMENTING THE VIDEO” border=”0″ src=”http://img.youtube.com/vi/XXXXXXXXXX/2.jpg” />{/japopup}</div>
where
XXXXXXXXXX – is the code of video assigned by YouTube (you see it in video’s URL)
2.jpg – thumbnail, could be 1.jpg or 3.jpg1 user says Thank You to gray for this useful post
davidrabinov Frienddavidrabinov
- Join date:
- January 2010
- Posts:
- 128
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 15
- Thanked:
- 1 times in 1 posts
January 13, 2010 at 8:05 pm #329243Ok, I figured it all out
To add to the above post
From the embed area you add ONLY the link you see in red:
<object width=”425″ height=”344″><param name=”movie” value=”http://www.youtube.com/v/ki4UKsI8bms&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/ki4UKsI8bms&hl=en_US&fs=1&” type=”application/x-shockwave-flash” allowscriptaccess=”always” allowfullscreen=”true” width=”425″ height=”344″></embed></object>
Then for the image you add:
<object width=”425″ height=”344″><param name=”movie” value=”http://www.youtube.com/v/ki4UKsI8bms&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/ki4UKsI8bms&hl=en_US&fs=1&” type=”application/x-shockwave-flash” allowscriptaccess=”always” allowfullscreen=”true” width=”425″ height=”344″></embed></object>
So it looks like this:
http://img.youtube.com/vi/ki4UKsI8bms/2.jpg
I hope this example is clear for others, I could probably explain it better but I don’t have the time.
This is how I’m doing mine, if there’s a better or easier way out there please post it.
madeline63 Friendmadeline63
- Join date:
- January 2010
- Posts:
- 92
- Downloads:
- 0
- Uploads:
- 30
- Thanks:
- 11
- Thanked:
- 1 times in 1 posts
March 30, 2010 at 6:02 am #338383hi,
i am trying to embed youtube in my frontpage website, but the video cant appear, it show “an error is occured, please try again later.”
this is the code i embed in a custom module.
<div style=”background-color: #000000;”>
<object width=”390″ height=”205″>
<param name=”allowFullScreen” value=”true” />
<param name=”allowscriptaccess” value=”always” />
<param name=”wmode” value=”transparent” />
<param name=”src” value=”http://www.youtube.com/v/AKClo1O3Xdc&hl=en_US&fs=1&” /><embed allowfullscreen=”true” src=”http://www.youtube.com/v/AKClo1O3Xdc&hl=en_US&fs=1&” type=”application/x-shockwave-flash” allowscriptaccess=”always” wmode=”transparent” width=”390″ height=”205″></embed>
</object>
</div>but after i saved, it change to
<div style=”background-color: #000000;”>
<object codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,32,18″ classid=”clsid:d27cdb6e-ae6d-11cf-96b8-444553540000″ width=”390″ height=”205″>
<param name=”allowFullScreen” value=”true” />
<param name=”allowscriptaccess” value=”always” />
<param name=”wmode” value=”transparent” />
<param name=”src” value=”http://www.youtube.com/v/AKClo1O3Xdc&hl=en_US&fs=1&” /><embed allowfullscreen=”true” src=”http://www.youtube.com/v/AKClo1O3Xdc&hl=en_US&fs=1&” type=”application/x-shockwave-flash” allowscriptaccess=”always” wmode=”transparent” width=”390″ height=”205″></embed>
</object>
</div>is this affected? else what else did i miss??
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
April 2, 2010 at 3:02 am #338835Hello madeline63!
but after i saved, it change to
<div style=”background-color: #000000;”>
<object codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,32,18″ classid=”clsid:d27cdb6e-ae6d-11cf-96b8-444553540000″ width=”390″ height=”205″>
<param name=”allowFullScreen” value=”true” />
<param name=”allowscriptaccess” value=”always” />
<param name=”wmode” value=”transparent” />
<param name=”src” value=”http://www.youtube.com/v/AKClo1O3Xdc&hl=en_US&fs=1&” /><embed allowfullscreen=”true” src=”http://www.youtube.com/v/AKClo1O3Xdc&hl=en_US&fs=1&” type=”application/x-shockwave-flash” allowscriptaccess=”always” wmode=”transparent” width=”390″ height=”205″></embed>
</object>
</div>You code is working well, may be the editor striped these tags on your site, now you turn off the editor via global setting or turn off the editor plugin, and try to do again
GOod luck
-
AuthorPosts
This topic contains 5 replies, has 4 voices, and was last updated by Saguaros 14 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum