Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › Lightbox Ultimate – Autoplay AND not Showing Suggested Video won't work
Tagged: autplay suggested video, lightbox shortcode formatting issue, lightbox ultimate youtube video, mp4 autoplay flowplayer
- This topic has 5 replies, 2 voices, and was last updated 12 years ago by alantduffy.
-
AuthorPosts
-
November 8, 2012 at 9:01 pm #7856alantduffyMember
I have both the short tags below embedded on this page [http://www.stelladoradus.com/test-video/]. I want to have the video auto-play and not show related videos.
The first one does not auto-play and does not show related videos.
The second one DOES auto-play but shows related videos.
How to I get either one to auto-play and NOT to show related videos. I’ve clicked the auto-play options for the plug-in and tried every combination but I can’t get any one short code to do both? Adding ?rel=0 to the URL just breaks it.
[wp_lightbox_ultimate_youtube_video_embed videoid=”pH8XfOE9PEw” show_suggested_video=”0″ width=”500″ height=”400″ hd=”0″ autoplay=”1″ display_control=”1″ fullscreen=”1″ autohide=”2″ theme=”dark” show_logo=”1″ showinfo=”1″ direct_embed=”” anchor_type=”image” source=”http://www.stelladoradus.com/wp-content/uploads/2012/11/video.jpg”%5D
[wp_lightbox_prettyPhoto_video link=”http://www.youtube.com/watch?v=pH8XfOE9PEw” show_suggested_video=”0″ autoplay=”1″ width=”500″ height=”500″ description=”Video description goes here” source=”http://www.stelladoradus.com/wp-content/uploads/2012/11/video.jpg” title=”Video title goes here”]
November 9, 2012 at 3:20 am #51180wpCommerceModeratorHi, you are having a similar issue like the one outlined here:
show_suggested_video
– This parameter is only available for the YouTube embed shortcode. So it will not work with the prettyPhoto YouTube shortcode. I believe there is no documentation to use it in the prettyPhoto shortcode either.November 9, 2012 at 7:46 pm #51181alantduffyMemberThank you, it is the same problem but their video also does not autoplay, so the problem is not fixed. I take it there’s a bug in the software?
[wp_lightbox_ultimate_youtube_video_embed videoid=”pH8XfOE9PEw” show_suggested_video=”0″ width=”500″ height=”400″ autoplay=”1″ display_control=”1″ fullscreen=”1″ autohide=”2″ theme=”dark” showinfo=”1″ anchor_type=”image” source=”http://www.stelladoradus.com/wp-content/uploads/2012/11/video.jpg”%5D
I have autoplay=”1″ but it does not work?
November 10, 2012 at 3:31 am #51182wpCommerceModeratorHi, There is no bug with autoplay in the YouTube embed shortcode. I just checked the page source. The shortcode is still formatted.
Please remove everything from the visual editor. Click on the “Paste as Plain Text” button on your Visual editor (It’s a tinyMCE button that looks like a “T”). Now copy the following shortcode and paste onto the “Paste as Plain Text” editor:
[wp_lightbox_ultimate_youtube_video_embed videoid="pH8XfOE9PEw" show_suggested_video="0" width="500" height="400" autoplay="1" display_control="1" fullscreen="1" autohide="2" theme="dark" showinfo="1" anchor_type="image" source="http://www.stelladoradus.com/wp-content/uploads/2012/11/video.jpg"]
Click “Insert”. This should remove any type of formatting from the text.
November 12, 2012 at 9:41 am #51183alantduffyMemberSorry, no difference. The video still does not autoplay and there’s no formatting around the shortcode tag. I’m a developer and develop plugins myself with shortcodes so I’m familiar with the process but this just ain’t working.
[http://www.stelladoradus.com/test-video/]
I used exactly the code below. Where exactly are you seeing the code being formatted?
[wp_lightbox_ultimate_youtube_video_embed videoid=”pH8XfOE9PEw” show_suggested_video=”0″ width=”500″ height=”400″ autoplay=”1″ display_control=”1″ fullscreen=”1″ autohide=”2″ theme=”dark” showinfo=”1″ anchor_type=”image” source=”http://www.stelladoradus.com/wp-content/uploads/2012/11/video.jpg”%5D
November 12, 2012 at 9:45 am #51184alantduffyMemberNEVERMIND – it was a function in the theme that was causing the problem. I had disabled WordPress wpautop and wptexturize filters. This caused the problem so I removed the filter and it worked. Good to know anyway.
Thanks for your help.
-
AuthorPosts
- You must be logged in to reply to this topic.