vimeo and html-link not functioning or displaying correctly
-
vimeo and html-link not functioning or displaying correctly…
- adding inline code the lightbox doesn’t contain the video correctly (video extends out of the light box by 20-30px) and the video doesn’t play when you click on the controls. Video plays just fine when just the video short code is added to the same page.
<a href="#video-1" rel="wp-video-lightbox" class="no-click-video">16-minute Defeating Distracted Driving video</a> <div id="video-1" style="display:none;"> [video width="640" height="480" mp4="https://mysite.com/wp-content/uploads/D3_TV_PSA_1_HQ.mp4"][/video] </div>
- adding a vimeo shortcode works correctly, also open up the video in a separate window:
[video_lightbox_vimeo5 video_id="165452807" width="640" height="480" anchor="Related Documents" class="no-click-video"]
generates >>>
<a rel="wp-video-lightbox" href="https://vimeo.com/165452807?width=640&height=480" title="" onclick="javascript:window.open('https://vimeo.com/165452807?width=640&height=480'); return false;">Related Documents</a>
I’m adding the
class="no-click-video"
trying to prevent the default link action. Am I missing something that is documented somewhere? - adding inline code the lightbox doesn’t contain the video correctly (video extends out of the light box by 20-30px) and the video doesn’t play when you click on the controls. Video plays just fine when just the video short code is added to the same page.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘vimeo and html-link not functioning or displaying correctly’ is closed to new replies.