Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Programmatic showing of controls in videoplayer

$
0
0

Hi,

in my HoerSuppe-project I want to use a videoplayer to realize a smart audioplayer. This is my version on left side:

But if I start the view, then I see the right side. Here my code:

self.player = Ti.Media.createVideoPlayer({
    height : 70,
    top : 310,
    allowsAirPlay : true,
    autoplay : true,
    mediaControlStyle : Ti.Media.VIDEO_CONTROL_EMBEDDED,
    url : item.url
});
I have played with 'mediaControlStyle' and with other parameters. But everytime I see the controles even after clicking on black area.

How can I solve? Or: is there an other, better audioplayer, or how can I patch the standard videoplayer to solve the problem.?


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>