Lightbox plugin for Videopress embed
Does anyone know how to create a lightbox effect for an embedded video from videopress?
I need to use my own videos for my website, not just youtube or other video services, so I created a .wordpress.com blog and then I bought the videopress upgrade so that I can upload videos to it. I then take the video embed code and paste it into my regular website. Is there a way that I can create a lightbox effect for this newly embedded video?
I would really appreciate any help or anything that you can do to point me in the right direction.
I found a good plugin for creating a lightbox video effect. 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.
Does anyone have any advice on how I can get this video to autoplay when it pops up in the 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>
If you’re still looking for a solution for this, I just wrote a blog post that might help: How to display a VideoPress video in a Widgetkit lightbox on your WordPress website
Using that technique and adding autoplay=true to the VideoPress shortcode will do what you’re looking to achieve.
- The topic ‘Lightbox plugin for Videopress embed’ is closed to new replies.