Skip to content

mrmwiebe/ionic-video-link

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

ionic-video-link

A directive for Ionic that smoothly launches a video and plays it automatically when clicked by the user. See the original blog post about this on my website. Leave me a comment! :)

#Demonstration Here's what it will look like in action:

ionic-video-link in action

Here's a sample of what I used for the list above:

<ionic-video-link video-src="assets/Getting Started.mp4" video-name="getting-started">
    <ion-item>
        <i class="icon ion-ios-play-outline"></i>
        &nbsp;Getting Started
    </ion-item>
</ionic-video-link>

####Attributes:

  • video-src will just link to the video asset that you want to launch when whatever is inside the link is clicked.
  • video-name just has to be a unique name for the link for the internal
  • The directive uses whatever you have inside the ionic-video-link tag as a link! Very handy.

Installation

Download the repo, store the html partial and the .js file somewhere in your www/app folder (or wherever you prefer), and reference them in your index.html.

Known Issues

Only tested on iOS.

About

A directive for Ionic that smoothly launches a video and plays it automatically when clicked.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published