Page 1 of 1

put a video into a player on iphone

Posted: Thu Nov 12, 2015 3:55 pm
by problème
Hello,
I have a video player program that I want to use on iPhone, (program work pretty good on mac os).
I put a video in emulator, File -> Standalone Appliction ... -> Copy Files , (I do "Test")
But how can i put the video into the player.
I do this but it doesn't work : set the filename of player "myPlayer to ( specialFolderPath("engine") & "/myVideo.mp4" )
(I tried to be inspired by this http://lessons.livecode.com/s/lessons/m ... een-in-iOS)

Re: put a video into a player on iphone

Posted: Thu Nov 12, 2015 5:09 pm
by Klaus
Hi problème,
problème wrote:...I do this but it doesn't work : set the filename of player "myPlayer to ( specialFolderPath("engine") & "/myVideo.mp4" )
"player" objects are not supported on mobile!
Please always take a look at the dictionary in these cases, there are the supported platform listed for a control and/or command!
problème wrote:(I tried to be inspired by this http://lessons.livecode.com/s/lessons/m ... een-in-iOS)
Great example. what does not work on your side, except the problem above?
Also check "play video" in the dictionary, that might be what you are looking for!


Best

Klaus

Re: put a video into a player on iphone

Posted: Fri Nov 13, 2015 7:57 am
by problème
Hello,
" "player" objects are not supported on mobile" was my only problem, I had not realized that were not supported on mobile.
thanks for the help