-
AuthorPosts
-
gianfranco Friend
gianfranco
- Join date:
- September 2010
- Posts:
- 73
- Downloads:
- 0
- Uploads:
- 9
- Thanked:
- 1 times in 1 posts
January 25, 2011 at 1:43 pm #159283Hi all I did a new custom module to insert video from youtube.
Using this code to have the video showed in a popup:
<p class=”img-photo”><span class=”highslide-img”>{japopup type=”youtube” title=”I danni del processo breve” content=”http://www.youtube.com/watch?v=NArIqv1tLFM” width=”640″ height=”390″} <img src=”http://i3.ytimg.com/vi/NArIqv1tLFM/default.jpg” border=”0″ alt=”Images Obama” width=”80″ height=”80″ /> {/japopup}</span> <span class=”highslide-img”>{japopup type=”youtube” title=”I costi della giustizia” content=”http://www.youtube.com/watch?v=jPqPdDxf0Vc” width=”640″ height=”390″} <img src=”http://i3.ytimg.com/vi/jPqPdDxf0Vc/default.jpg” border=”0″ alt=”Images Obama” width=”80″ height=”80″ /> {/japopup}</span>
But I got only a white popup with nothing inside.
:-[ Thanks
G.
How can I solve this issue?thangnn1510 Friend
thangnn1510
- Join date:
- October 2014
- Posts:
- 1608
- Downloads:
- 0
- Uploads:
- 80
- Thanks:
- 73
- Thanked:
- 278 times in 256 posts
January 26, 2011 at 8:13 am #373857Dear Gianfranco!
Please change your code to
<p class="img-photo"><span class="highslide-img">{japopup type="youtube" title="I danni del processo breve" content="http://www.youtube-nocookie.com/v/NArIqv1tLFM?fs=1&hl=en_US" width="640" height="390"} <img src="http://i3.ytimg.com/vi/NArIqv1tLFM/default.jpg" border="0" alt="Images Obama" width="80" height="80" /> {/japopup}</span> <span class="highslide-img">{japopup type="youtube" title="I costi della giustizia" content="http://www.youtube-nocookie.com/v/jPqPdDxf0Vc?fs=1&hl=en_US" width="640" height="390"} <img src="http://i3.ytimg.com/vi/jPqPdDxf0Vc/default.jpg" border="0" alt="Images Obama" width="80" height="80" /> {/japopup}</span></p>As you see, I have get the different contents for 2 block of ja popup. You should get content by click to embed tag in youtube and click to “Enable privacy-enhanced mode [?]” tick box.
Hope this helps and good luck! 😎
gianfranco Friend
gianfranco
- Join date:
- September 2010
- Posts:
- 73
- Downloads:
- 0
- Uploads:
- 9
- Thanked:
- 1 times in 1 posts
January 27, 2011 at 1:40 pm #374078Thanks so much Thang,
this is working good now.Bye
G.Phill Moderator
Phill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
January 27, 2011 at 2:44 pm #374082Rather than typing shed loads of code out everytime you want to add a video you might want to look at the excellent all videos reloaded plugin – http://extensions.joomla.org/extensions/multimedia/multimedia-players/video-players-a-gallery/3955
It adds a nice button to your editor making adding video a breeze even with a popup.
-
AuthorPosts
This topic contains 4 replies, has 3 voices, and was last updated by Phill 14 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum