Flipabit
  • Flipabit
  • Getting started
    • Flipabit overview
    • Create project
    • Run on device
    • Build
      • Build for iOS
      • Build for Android
      • Build for Desktop
    • Publish to App Stores
      • Submit to App Store
      • Submit to Google Play
  • Layers
    • Select layer
    • Change order, visibility and name
    • Copy and paste
    • Move layer
    • Resize layer
    • Rotate layer
    • Align layers
    • Arrange layers
    • Navigation layer
      • Display page title
      • Display Tab bar
      • Display Table of contents
      • Display Back button
      • Next/Prev buttons
      • Navigation actions
  • Pages
    • Add or delete page
    • Open page
    • Page background and overlay
  • Widgets
    • Image
    • Video
    • Text
    • PDF
    • Web
    • Diorama
    • Audio
    • Animation
    • Camera
    • YouTube
    • Map
    • Chart
    • Calendar
    • Table
    • Form
    • 3D Model
  • Groups
    • Add group
    • Move and resize group
  • Style
    • Opacity
    • Borders
    • Background
    • Opacity mask
    • Overlay
    • Margins
    • Blur
    • Copy and paste style
  • Interactivity
    • Navigate between pages
    • Maximize widget
    • Drag widget
    • Disable widget
  • Project
    • Resolution
    • Orientation
    • Status Bar
    • Settings
    • Publish settings
  • Animation
    • Page animation
    • Maximize animation
    • Position animation
    • Size animation
    • Size and position animation
    • Rotation animation
    • Opacity animation
    • Color animation
    • Blur animation
  • Actions
    • Actions Editor Overview
    • Add action
    • Suspend actions
    • Arguments
    • Delay action
    • Animation settings
    • Repeat action
  • Data & backend
    • Airtable
    • Google Sheets
  • Networking
  • Tutorials
  • API
    • Project
    • Page
    • Group
    • Widget
      • Image
      • Text
      • Video
      • Diorama
      • Audio
      • Web
      • Animation
      • Camera
      • YouTube
      • Map
      • Chart
      • Calendar
      • Table
      • Form
      • Record
      • 3d model
  • ⭐Updates
  • 🎁Get Flipabit
Powered by GitBook
On this page
  • Actions
  • Events

Was this helpful?

  1. API
  2. Widget

YouTube

PreviousCameraNextMap

Last updated 4 years ago

Was this helpful?

Property

Function

Type

Url

Sets YouTube url address Actions editor: Property > YouTube > Url Code: widget.content.webVideoUrl

string

Loop

Looping the playback Actions editor: Property > YouTube > Loop Code: widget.content.loop

bool

Autoplay

Start playback automatically Actions editor: Property > YouTube > Autoplay Code: widget.content.autoplay

bool

Hd

Play in hd quality Actions editor: Property > YouTube > Hd Code: widget.content.hd

bool

Player vars

Sets player vars Actions editor: Property > YouTube > Player vars Code: widget.content.playerVars

string

Actions

Property

Function

Play

Actions editor: Actions > Common > Play Code: widget.content.script.actionPlay()

Stop

Actions editor: Actions > Common > Stop Code: widget.content.script.actionStop()

Pause

Actions editor: Actions > Common > Pause Code: widget.content.script.actionPause()

Next

Play next video in playlist Actions editor: Actions > Common > Next Code: widget.content.script.actionNext()

Prev

Play next prev in playlist Actions editor: Actions > Common > Prev Code: widget.content.script.actionPrev()

Play Video

Play video by number Actions editor: Actions > Common > Play Video Code: widget.content.script.actionPlayAt(int index)

Events

Property

Function

Play

Event when playing started Actions editor: Event > Play Code: widget.content.script.eventPlay()

Stop

Event when playing stopped Actions editor: Event > Stop Code: widget.content.script.eventStop()

Pause

Event when playing paused Actions editor: Event > Pause Code: widget.content.script.eventPause()

Video Changed

Event when current video is changed Actions editor: Event > Video Changed Code: widget.content.script.eventVideoChanged()