Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

selector on mobile ( workarround #13 doesn't work ) #80

Open
lycoch opened this issue Nov 8, 2021 · 3 comments
Open

selector on mobile ( workarround #13 doesn't work ) #80

lycoch opened this issue Nov 8, 2021 · 3 comments

Comments

@lycoch
Copy link

lycoch commented Nov 8, 2021

hello
same issue as #13 , on desktop, everything is working but i want to force the quality menu dropdown on mobile but it doesn't show

here is my code


options, player;
options = {
	responsive: true,            
	controlBar: {
		children: [
			'playToggle',
			'progressControl',
			'volumePanel',
			'qualitySelector',
			'fullscreenToggle',
		],
	},
	html5: {
		nativeAudioTracks: false,
		nativeVideoTracks: false,
		hls: {
			overrideNative: true,
			debug: true,
		}
	},
};
player = videojs('mainvideo',options);
player.hlsQualitySelector();
player.play();

same result without

	nativeAudioTracks: false,
		nativeVideoTracks: false,

videojs 7.0
videojs-contrib-quality-levels @Version 2.1.0
videojs-hls-quality-selector * @Version 1.1.4
thanks for your help

@k20-nicolas
Copy link

Hi,
I've the same problem, a solution ?
Thanks

@hermify
Copy link

hermify commented Jul 13, 2023

It's an old thread, but that works:
html5: { vhs: { overrideNative: true, }, } ,

@goodtube4u
Copy link

I think this has changed recently and is no longer working with iOS? The below settings don't seem to work (even with vhs)

html5: {
nativeAudioTracks: false,
nativeVideoTracks: false,
hls: {
overrideNative: true,
},
vhs: {
overrideNative: true,
}
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants