Youtube Play Next Queue

Don't like the youtube autoplay suggestion? This script can create a queue with videos you want to play after your current video has finished!

< Feedback on Youtube Play Next Queue

प्रश्न/टिप्पणी

Request Update:

Change


        function isPlayerAvailable() {
            script.ytplayer = getVideoPlayer();
            return script.ytplayer !== null && script.ytplayer.getVideoData().video_id;
        }

to


        function isPlayerAvailable() {
            script.ytplayer = getVideoPlayer();
            return script.ytplayer && typeof script.ytplayer.getVideoData === 'function' && script.ytplayer.getVideoData().video_id;
        }

getVideoData might be assigned after the DOM element is inserted. At that time, error will occur.

Cptmathixलेखक
§
पोस्ट केले: 2024-03-02

Thank you for reporting, updated!

उत्तर पोस्ट करा

उत्तर पोस्ट करण्यासाठी साइन इन करा.