I want to play a m3u8 video with params in the URL:
In my video.xml i have the following code:
<Alloy> <Tab title="Livestream"> <Window> <LeftNavButton> <Button id="logoutButton" class="leftButton">Logout</Button> </LeftNavButton> <TitleControl> <Label id="vodOverviewTitle" class="titleControl">Livestream</Label> </TitleControl> <VideoPlayer id="videoPlayer" ns="" ns="Ti.Media" top="2" mediaControlStyle="Titanium.Media.VIDEO_CONTROL_DEFAULT" height="300" width="300" backgroundColor="blue" autoplay="false"> </VideoPlayer> </Window> </Tab> </Alloy>In the livestream controller i have the following code: $.videoPlayer.url = 'http://xx.xxx.xx.xx/xxx/xxxxxXXX.smil/playlist.m3u8?mxtendtime=xxxxxx&mxtstarttime=xxx&mxthash=xxxxxxxxxxxxxxxxxxx'
when i add the follow url to $.videoPlayer.url: "http://sw.gostreaming.tv:1935/live/smil:myStream.smil/playlist.m3u8" it works fine! But when i add the m3u8 stream with params, the videoPlayer does nothing!
What's the problem?
Thanks in advance!