|
Play Part Screen Video This lesson shows you how to create an iOS video controller and load a video. Setup your stack and simulation settings-) Create a new stack Setup your video fileFor this test we need a video. We've exported a portion of the 4.6 promo video at a low quality which is contained in the sample zip attached to this lesson. We need to include it in our build: 1) In the standalone setting pane, go to 'Copy Files' We should now have a stack that is setup for simulation with our video file included. We can start coding. Create our control in scriptOpen the card script and paste the following code. The green comments explain what we are doing. on openCard on closeCard on controlDelete Test in the simulatorClick on the simulate button to test.
|
Tweet |