Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Even though that message appears, once the page is updated in WP, it displays correctly. Just FYI.

    I have been embedding Youtube Live stream video links in WP for a couple of years. And now this morning I am getting a the error message “Sorry, this content could not be embedded.”

    Something has to to have happened to cause this. I am fully updated and have no idea why this is happening ??

    Thread Starter timmydjr

    (@timmydjr)

    I will check it out but I am sure it is fine. I just now saw your messsage regarding the updates. Sorry about that.

    Thread Starter timmydjr

    (@timmydjr)

    Andrew,
    I am testing the LIVE Stream refreshing and it is still not working. Prior to testing this I clicked on CASHING > PURGE ALL in WordPress. The live stream is embeded here:
    https://northpointchristian.tv/index.php/sample-page/

    But after 7 minutes it has never refreshed to show the LIVE stream. It is showing the message that I edited in the PHP file and the embeded looping video. But it has yet to refresh and show the LIVE video.

    Any ideas on what I should check to fix this?

    —————————————————

    2. I can click on “Check Again” and it will then populate the LIVE video feed. However it still leaves the text and embedded video from this code:

    add_filter( ‘wp_youtube_live_no_stream_available’, ‘my_ytl_custom_message’ );
    function my_ytl_custom_message( $message ) {
    $message = ‘<p>Please check below for the scheduled event times to be broadcasted LIVE on NorthpointChristian.TV. You may also subscribe to our YouTube channel to get notifications when we are LIVE. Subscribe today so that you never miss any of the action! Thanks again for support the Northpoint Christian Sports Network. <p>Subscribe to NCSN YouTube Channel.</p>
    <iframe width=”560″ height=”315″ src=”https://www.youtube.com/embed/%5BVIDEO_ID%5Dautoplay=1&loop=1&playlist=%5BVIDEO_ID%5D&#8221; frameborder=”0″ allowfullscreen></iframe><p>
    <p><button type=”button” class=”button” id=”check-again”>Check again</button><span class=”spinner” style=”display:none;”></span></p>’;
    return $message;
    }

    • This reply was modified 7 years, 2 months ago by timmydjr.
    Thread Starter timmydjr

    (@timmydjr)

    Thanks Andrew! I found out that for the video loop to work you must also include &playlist=VIDEO_ID at the end ??

    <iframe width=”1280″ height=”720″ src=”https://www.youtube.com/embed/EDyRZmU62MQ?autoplay=1&loop=1&playlist=EDyRZmU62MQ&#8221; frameborder=”0″ allowfullscreen></iframe>

    I will test again on the auto loading when the Video Stream goes LIVE.

    Thread Starter timmydjr

    (@timmydjr)

    I started a stream and left it LIVE for probably 15-20 minutes (I had to manually refresh the webpage for the viewer to become visible). After I stopped the LIVE stream the player that is displayed on the webpage will keep replaying the last 20 seconds of LIVE video that was streamed. It will then show the “Grey YouTube Screen” for about 1 second with Message, LIVE VIDEO OFFLINE. That will display for 1-2 seconds and then it will go back to playing the last 20 seconds of the LIVE video feed. This has continued for 10+ minutes and still going. So my question is this:
    1. At what point should the player go back to hidden state (not viewable in browser)?

    I have added the following code to the wp-youtube-live/wp-youtube-live.php

    add_filter( ‘wp_youtube_live_no_stream_available’, ‘my_ytl_custom_message’ );
    function my_ytl_custom_message( $message ) {
    $message = ‘<p>Please check below for the scheduled event times to be broadcasted LIVE on NorthpointChristian.TV. You may also subscribe to our YouTube channel to get notifications when we are LIVE. Subscribe today so that you never miss any of the action! Thanks again for support the Northpoint Christian Sports Network. <p>Subscribe to NCSN YouTube Channel.</p>
    <p><button type=”button” class=”button” id=”check-again”>Check again</button><span class=”spinner” style=”display:none;”></span></p>’;
    return $message;
    }

    add_filter( ‘wp_youtube_live_transient_timeout’, ‘my_ytl_custom_timeout’ );
    function my_ytl_custom_timeout( $message ) {
    return ’15’;
    }

Viewing 6 replies - 1 through 6 (of 6 total)