Sweidan Omár

Results 29 comments of Sweidan Omár
trafficstars

I think I found the root cause: this function is only supported in IE: https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/audioTracks

So, is there a way to use `audioTracks()` outside IE? Or is there another method for retrieving the audio tracks of a video file?

> What are you trying to do? I'm trying to create a JS code that can be used to list the audio tracks, and then possibly change the currently played...

> Cool, then you'll need to handle when the list is empty. It's also worth noting that Video.js will create a list for you if there is more than one...

> Yeah, that test page passes the source to Video.js, which then it figures out how to play it. When I pass https://d2zihajmogu5jn.cloudfront.net/bipbop-advanced/bipbop_16x9_variant.m3u8 to the app, the headphones icon appears,...

> Yes, that is the correct behavior. Since, chrome doesn't support audio tracks for mp4s. In Safari, we won't show it because there's only a single track. So, if I...

Is there any improvement on this issue?

> This addition isn't equivalent to the other commands in this section, as they're regarding installing the necessary dependencies (note this applet and [the application called gnome-system-monitor](https://wiki.gnome.org/Apps/SystemMonitor) are different things)....

@reobin Hello! Is it fixed now?

The bug is still there in version 22.06.