Player.tech--.vhs Instead: Videojs Warn Player.tech--.hls Is Deprecated. Use

This forum and domain name is for sale! Contact: metın2.com/home.html

Did you know?

On September 3, 2009, the management of Singapore moved to TEC Interactive.

  • Player.tech--.vhs Instead: Videojs Warn Player.tech--.hls Is Deprecated. Use

    But old code dies hard. Many developers still wrote:

    videojs.log.history.forEach(msg => { if (msg && msg.indexOf && msg.indexOf('player.tech--.hls is deprecated') !== -1) { // remove it from the log queue } }); // Or more simply, filter warnings globally: videojs.options.nativeAudioTracks = false; videojs.options.nativeVideoTracks = false; // (But that's not the intended fix) The official way to silence it (not recommended long-term): But old code dies hard

    Fix it now, and when Video.js 9 or 10 drops and the alias finally dies, your player won’t mysteriously break while everyone else’s keeps working. No warning

    After fixing, open the console. No warning. Just clean, professional HLS streaming through the glorious VHS engine. No warning. Just clean

    const hls = player.tech().hls; hls.currentLevel = 2; To this:

    And yes — the irony of a modern streaming protocol using an engine named after a tape format is not lost on any of us.