put a video into a player on iphone

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
problème
Posts: 77
Joined: Fri Oct 23, 2015 12:03 am

put a video into a player on iphone

Post by problème » Thu Nov 12, 2015 3:55 pm

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)

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: put a video into a player on iphone

Post by Klaus » Thu Nov 12, 2015 5:09 pm

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

problème
Posts: 77
Joined: Fri Oct 23, 2015 12:03 am

Re: put a video into a player on iphone

Post by problème » Fri Nov 13, 2015 7:57 am

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

Post Reply