Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # this will play the video
- #not the two )) at the end (not doc'ed in the lesson)
- on openCard
- if the environment is "mobile" then
- send "playMobileVideo" to me in 0 milliseconds
- else
- ##does not work
- #play videClip (specialfolderpath("/home/dennis/Desktop/LiveCode/Lesson1/BitterRevenge/Video"))
- #test this
- #fail = no vid play
- #play videoClip (specialfolderpath("/home/dennis/Desktop/LiveCode/Lesson1/BitterRevenge/Video"))
- #test
- #and fail
- play videoClip "/home/dennis/Desktop/LiveCode/Lesson1/BitterRevenge/Video/video.mp4"
- end if
- end openCard
- #go to next card
- on playStopped#
- go to the next card
- end playStopped
- on playMobileVideo
- play videClip (specialfolderpath("/home/dennis/Desktop/LiveCode/Lesson1/BitterRevenge/Video"))
- go to the next card
- end playMobileVideo
Add Comment
Please, Sign In to add comment