javascript - Video sound not playing in iPhone without headphones (Titanium mobile) -
i developing app have play video url. video plays fine on simulator when play on iphone, cannot hear sound without pluggin in headphones.
here's code alloy view
<window> <videoplayer id="videoplayer1" autoplay="false" height="300" width="ti.ui.fill" backgroundcolor="black" fullscreen="true"></videoplayer> </window> controller.js
$.videoplayer1.url = "some_url"; $.videoplayer1.play(); are there setting have add together or delete in tiapp.xml. missing parameter or or property ?
i found solution . needed set volume property.
$.videoplayer1.volume = 1.0; javascript iphone titanium-mobile titanium-alloy
No comments:
Post a Comment