The O.G. Virtual learning! Buy one, get 2 more Lifetime Memberships! - Click Here!

Added Play and Pause Buttons for Videos

Home 4 Forums iOS / tvOS Starter Kits The Story Tellers Kit 2 for iOS or tvOS Apps Added Play and Pause Buttons for Videos

This topic contains 0 replies, has 1 voice, and was last updated by  Justin 5 years, 4 months ago.

  • April 1, 2016 at 1:20 am #145134

    You can now add play and pause controls for the video player in the Story Tellers iOS and tvOS Starter Kit 2. The video player is an SKVideoNode which doesn’t have many properties (play and pause basically), but it can seamlessly integrate into your Page scene (SKScene). You can layer it above and below other sprites, move it around based on the touch of the user, pan it, rotate it, etc. Anything the kit allows you to do to other SKNodes should work fine.

    No code changes have been made to Page_Video.swift extension, just the main Page.swift file. You can read more about the new PlayVideo and PauseVideo events here in the documentation.

    (You’re welcome Arnel, get that app in the store so we can show it off)

You must be logged in to reply to this topic.

Know what an affiliate program is? You make money just by sharing links to our site! Win. Win.

Earn when you refer any buyer here! 30 day tracking. Commissions are 33%-50% and recur on subscription products!

Uh oh, missing your affiliate ID. Create one real quick