Hi,
I have a weird issue whereby;
1. I can create a new post with a featured YouTube video that works perfectly
2. I can create a new post with a Vimeo Playlist that works perfectly
3. I can NOT create a new post with a YouTube playlist
4. All my previously created posts with YouTube playlists work perfectly
5. On inspection it seems that whilst I am adding info correctly into the YouTube playlist shortcode, when it comes to the HTML rendering there is no playlist data. For example;
Here’s a playlist shortcode and HTML from a previous post that works fine
Shortcode
[td_block_video_youtube playlist_title=”” playlist_yt=”dpma-J68Etc, lGApxPyjOzE, 45QBhq7sE7U, jhCPincElC4″ playlist_auto_play=”0″]
HTML
<div class=”td_block_wrap td_block_video_playlist”>
<div class=”td_uid_1_5b0d581b3b56c td_block_inner”>
<div class=”td_video_playlist_column_2″>
<div class=”td_wrapper_video_playlist”>
<div class=”td_wrapper_player td_wrapper_playlist_player_youtube” data-first-video=”dpma-J68Etc” data-autoplay=”0″><iframe id=”player_youtube_0″ frameborder=”0″ allowfullscreen=”1″ allow=”autoplay; encrypted-media” title=”YouTube video player” width=”100%” height=”100%” src=”https://www.youtube.com/embed/dpma-J68Etc?autoplay=0&enablejsapi=1&origin=http%3A%2F%2Ftwatr.com&widgetid=2″ style=”height: 391.5px;”></iframe></div>
<div class=”td_container_video_playlist “>
<div class=”td_video_controls_playlist_wrapper”>
<div class=”td_video_stop_play_control”></div>
<div class=”td_current_video_play_title_youtube td_video_title_playing”>Into The Universe With Stephen Hawking The Story of Everything</div>
<div class=”td_current_video_play_time_youtube td_video_time_playing”>01:26:35</div></div>
<div id=”td_youtube_playlist_video” class=”td_playlist_clickable “> <div class=”td_video_thumb”>
</div>
<div class=”td_video_title_and_time”>
<div class=”td_video_title”>Into The Universe With Stephen Hawking The Story of Everything</div>
<div class=”td_video_time”>01:26:35</div></div> <div class=”td_video_thumb”>
</div>
<div class=”td_video_title_and_time”>
<div class=”td_video_title”>Cosmology’s brightest star Stephen Hawking dies aged 76</div>
<div class=”td_video_time”>03:09</div></div> <div class=”td_video_thumb”>
</div>
<div class=”td_video_title_and_time”>
<div class=”td_video_title”>A Brief History of Time</div>
<div class=”td_video_time”>01:20:11</div></div> <div class=”td_video_thumb”>
</div>
<div class=”td_video_title_and_time”>
<div class=”td_video_title”>Hawking’s Space Travelling Dreams: Daily Planet</div>
<div class=”td_video_time”>02:36</div></div></div>
</div>
</div>
</div>
<script>;if (undefined === window.td_youtube_list_ids) {window.td_youtube_list_ids = {}};window.td_youtube_list_ids[‘td_dpma-J68Etc’] = {title:”Into The Universe With Stephen Hawking The Story of Everything”,time:”01:26:35″};window.td_youtube_list_ids[‘td_lGApxPyjOzE’] = {title:”Cosmology's brightest star Stephen Hawking dies aged 76″,time:”03:09″};window.td_youtube_list_ids[‘td_45QBhq7sE7U’] = {title:”A Brief History of Time”,time:”01:20:11″};window.td_youtube_list_ids[‘td_jhCPincElC4’] = {title:”Hawking's Space Travelling Dreams: Daily Planet”,time:”02:36″};</script></div></div>
If I create a new post with the exact same shortcode here is the HTML I get;
<div class=”td_block_wrap td_block_video_playlist”>
<div class=”td_uid_1_5b0d58bb4e5fd td_block_inner”>
<div class=”td_video_playlist_column_2″>
<div class=”td_wrapper_video_playlist”>
<div class=”td_wrapper_player td_wrapper_playlist_player_youtube” data-first-video=”” data-autoplay=”0″>
<div id=”player_youtube”></div>
</div>
<div class=”td_container_video_playlist “>
<div class=”td_video_controls_playlist_wrapper”>
<div class=”td_video_stop_play_control”></div>
<div class=”td_current_video_play_title_youtube td_video_title_playing”></div>
<div class=”td_current_video_play_time_youtube td_video_time_playing”></div></div>
<div id=”td_youtube_playlist_video” class=”td_playlist_clickable “></div>
</div>
</div>
</div>
<script>;if (undefined === window.td_youtube_list_ids) {window.td_youtube_list_ids = {}};</script></div></div>
Hello
Please try to make a new post with the following code ->
[td_block_video_youtube playlist_title="" playlist_yt="dpma-J68Etc, lGApxPyjOzE, 45QBhq7sE7U, jhCPincElC4" playlist_auto_play="0"]
I have checked on my website and everything works as expected.
Thanks for the message!