WordPress.org

Ready to get started?Download WordPress

Forums

VideoPress Lightbox or Thickbox (6 posts)

  1. llamaman
    Member
    Posted 3 years ago #

    I would like to add Lightbox or Thickbox functionality for VideoPress embeds.

    There are a number of plugins that do this for YouTube, Vimeo, etc., but they do not support VideoPress by default. (example: http://wordpress.org/extend/plugins/shadowbox-js/)

    I have been sifting through lightbox code and googling trying to figure this out for the last 5 hours or so, and have not had any luck.

    Any ideas on where to look next? Has anyone accomplished this?

    Thanks!

  2. llamaman
    Member
    Posted 3 years ago #

    Bump.

  3. mharriett
    Member
    Posted 2 years ago #

    Did you have any luck in finding a plugin that adds Lightbox functionality for Videopress embeds? I am trying to find the same thing.

  4. andreaamado
    Member
    Posted 2 years ago #

  5. llamaman
    Member
    Posted 2 years ago #

    @mharriett - I did not find a good way to do this. Perhaps @andreaamado's suggestion will work.

  6. mharriett
    Member
    Posted 2 years ago #

    Thanks for the advice, before I saw your suggestion I found some code and a plugin that works good for creating a lightbox. I used the Fancybox for WordPress plugin (http://wordpress.org/extend/plugins/fancybox-for-wordpress/ ). Here is the code.

    [SHORT CODE FOR EMBEDDING WP VIDEO XXXXXXXX]

    <div style="display:none" id="testube">
    <object width="320" height="270">
    <param name="movie" value="FILE URL"></param>
    <param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param>
    <embed src="http://s0.videopress.com/player.swf?v=1.03" type="application/x-shockwave-flash" width="300" height="250" wmode="direct" seamlesstabbing="true" allowfullscreen="true" allowscriptaccess="always" overstretch="true" flashvars="guid=XXXXXXXX&isDynamicSeeking=true" title=""></embed>
    </object>
    </div>

    My only issue with using this is that I cannot get the video to autoplay when it pops up in the lightbox. I have to click the video again to get it to play. I have tried adding autoplay = "true", autoplay = "1" to the code, but that has not worked.

    Do you have any advice on how I can get this video to autoplay when it pops up in the lightbox?

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic