test melih
 melih
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • gianfranco Friend
    #159283

    Hi 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
    #373857

    Dear 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
    #374078

    Thanks so much Thang,
    this is working good now.

    Bye
    G.

    Phill Moderator
    #374082

    Rather 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.

Viewing 4 posts - 1 through 4 (of 4 total)

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