Selamlar
html5 playerda ses ve video url ayrı linklerle oynatabilirmiyim?
<script>
// fire up the plugin
videojs('video', {
controls: true,
plugins: {
videoJsResolutionSwitcher: {
ui: true,
default: 'low', // Default resolution [{Number}, 'low', 'high'],
dynamicLabel: true // Display dynamic labels or gear symbol
}
}
}, function(){
var player = this;
window.player = player
player.updateSrc([
<?php if (isset($data["stream"]['HD'])) { ?>
{
src: '<?=$data['stream']['HD']['kalip']?>',
type: 'video/mp4',
label: 'HD',
res: 720
},HALİ HAZIRDA OYNATABİLİYORUM. SADECE VİDEOYU. SES KAYDINIDA OYNATMAK İSTİYORUM.
İKİSİ SENKRON AYNI ANDA OYNAMALI
src: '<?=$data['stream']['HD']['kalip']?>' OYNATIYORUM
SES DOSYASI İÇİN NASIL BİR KOD YAPISI EKLEMELİYİM?
https://docs.videojs.com/index.html#guides
YARDIMCI OLACAK ARKADAŞA 50TL VEREBİLİRİM.