Videojs Warn Player.tech--.hls Is: Deprecated. Use Player.tech--.vhs Instead
Related search suggestions: (These are suggested search terms you can use to learn more.)
High. The compatibility layer will be removed in a future major version release of Video.js. When that happens, code pointing to .hls will return undefined , causing player crashes or playback failures. How to Fix the Deprecation Warning look at the console warning
Open your browser developer tools, look at the console warning, and click the dropdown arrow next to the warning to view the stack trace. This reveals exactly which script file is triggering the call. Step 2: Update the Dependency function() console.log('Playlist loaded via old engine')
Maya sipped her cold coffee and whispered, “Goodnight, old tech.” Use code with caution. javascript
// ❌ DEPRECATED player.tech_.hls.on('loadedplaylist', function() console.log('Playlist loaded via old engine'); ); Use code with caution. javascript