IOS movie Play
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 2
- Joined: Tue Dec 21, 2010 7:09 pm
IOS movie Play
I can't get movie to play unless I use the following command
on mouseUp
play video specialFolderPath("engine") & "/testfilename.m4v" into file_path
end mouseUp
On IOS the documentation simply says:
play video-file
not
play video video-file
is this a typo in the documentation?
using the command with the video keyword seems to work.
on mouseUp
play video specialFolderPath("engine") & "/testfilename.m4v" into file_path
end mouseUp
On IOS the documentation simply says:
play video-file
not
play video video-file
is this a typo in the documentation?
using the command with the video keyword seems to work.
Re: IOS movie Play
Hi Rodney,
In that line you are mixing two commands into one!
1. Fill the variable file_path with the path to the video
2. Use the "play video" command in the same line.
Try this:
The docs read: play {video-file | video-url}
So you could also supply an internet url to the play command.
Best
Klaus
This really works?rodneyweast wrote:...
on mouseUp
play video specialFolderPath("engine") & "/testfilename.m4v" into file_path
end mouseUp

In that line you are mixing two commands into one!
1. Fill the variable file_path with the path to the video
2. Use the "play video" command in the same line.
Try this:
Code: Select all
on mouseUp
put specialFolderPath("engine") & "/testfilename.m4v" into file_path
play file_path
end mouseUp
So you could also supply an internet url to the play command.
Best
Klaus
-
- Posts: 2
- Joined: Tue Dec 21, 2010 7:09 pm
Re: IOS movie Play
This, absolutely does not work on my machine.
on mouseUp
put specialFolderPath("engine") & "/testfilename.m4v" into file_path
play file_path
end mouseUp
If i place the word video before file_path, it works fine.
on mouseUp
put specialFolderPath("engine") & "/testfilename.m4v" into file_path
play file_path
end mouseUp
If i place the word video before file_path, it works fine.
Re: IOS movie Play
Hi Rodney,
the documentation is, well, not as clear as one might hope.
If you want to play video you have to specify
It took me some time to figure it out.
for sound just
is ok.
Kind regards
Bernd
the documentation is, well, not as clear as one might hope.
If you want to play video you have to specify
Code: Select all
play video pathToVideoFile
for sound just
Code: Select all
play pathToSoundFile
Kind regards
Bernd
-
- Posts: 65
- Joined: Thu Oct 07, 2010 4:47 pm
Re: IOS movie Play
I'm able to play a movie, but do not see any controls to pause/stop the movie, or close the movie window. Any ideas on how to activate these?
-
- Posts: 21
- Joined: Sat Jan 15, 2011 6:40 pm
Re: IOS movie Play
Hi,
I'm able to display the controller, but it doesn't work (Is it normal or am I missing something?)...
set the showController of the templatePlayer to true
play video specialFolderPath("engine") & "/video/myvideo.mp4"
I'm able to display the controller, but it doesn't work (Is it normal or am I missing something?)...
set the showController of the templatePlayer to true
play video specialFolderPath("engine") & "/video/myvideo.mp4"
-
- Posts: 65
- Joined: Thu Oct 07, 2010 4:47 pm
Re: IOS movie Play
I was able to use the line of code you provided to show the controller and everything is working perfectly. I would suggest to make sure you are using version 4.5.3 of LiveCode.
-
- Posts: 21
- Joined: Sat Jan 15, 2011 6:40 pm
Re: IOS movie Play
Yeah! Great!
I love this forum!

I love this forum!