wildside96 / bst-player

Automatically exported from code.google.com/p/bst-player
0 stars 0 forks source link

Can I capture events (stop, finish, play pause ) on an ipod touch? #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Run the application on the ipod touch with Native Player
2.
3.

What is the expected output? What do you see instead?
Having the event handler called
Nothing

What version of the product are you using? On what operating system?
1.1
1.2

Please provide any additional information below.

Original issue reported on code.google.com by ajwec...@gmail.com on 28 Nov 2010 at 11:30

GoogleCodeExporter commented 9 years ago
Any code sample to reproduce this issue?

Original comment by sbrah...@gmail.com on 28 Nov 2010 at 11:49

GoogleCodeExporter commented 9 years ago
I have two implementations
1) when I press a button I create a video on the ipod then I get no event.
2) when I press a button I create a new panel with a video on it, then it 
imeadiatly comes back with a finish event
Number two is the way I'd like to go on the IPod so I am attaching that version 
VideoPlayerView
The version which doesn't get an event is ButtonList3View

Original comment by ajwec...@gmail.com on 28 Nov 2010 at 4:03

Attachments:

GoogleCodeExporter commented 9 years ago
hi,

I tried both work flows and both ways seem to work

For your use case:
- does it work in a regular browser (outside of the ipod)?
- how long (duration) is your mp4?
- how about creating nativePlayer with autoplay=false in videoplayerview?

Original comment by sbrah...@gmail.com on 29 Nov 2010 at 7:48

GoogleCodeExporter commented 9 years ago
-Yes, when I run on the Safari browser (even using user agent=Ipod touch i0s4), 
it works.
-The mp4 is about 2minutes long 800K (a conversion from SWF).  When I try to 
play it directly it works.
-The idea is that once the user chooses a presentation from the list he 
shouldn't have to hit enter again but that may be the lesser of two evils, if 
it works, I'll try and let you know.

Original comment by ajwec...@gmail.com on 29 Nov 2010 at 7:58

GoogleCodeExporter commented 9 years ago
Can you confirm that bst-player works on an IPOD touch?
In the logger I get ERROR media not supported.
When I code the same .mp4 file in an html file with video tag it works fine.
Thanks

Original comment by ajwec...@gmail.com on 29 Nov 2010 at 6:37

GoogleCodeExporter commented 9 years ago
I upgraded to IOS 4.2 it works!!!!
However the done button sends a pause event, as does the pause button.
Any way to deifferentiate

Original comment by ajwec...@gmail.com on 30 Nov 2010 at 8:48

GoogleCodeExporter commented 9 years ago
Hi,

Glad you got it working.  HTML5 does not really specify stop events (which 
would be expected with the done button).  You may use other events such as 
Finished or Window events to check if player is finished or window is closed

Regards

Original comment by sbrah...@gmail.com on 2 Dec 2010 at 12:06

GoogleCodeExporter commented 9 years ago

Original comment by sbrah...@gmail.com on 10 Feb 2011 at 2:33