Skip to content
A library to allow video to play inline if you're user is on an iphone.
JavaScript HTML
Branch: master
Clone or download
Pull request Compare This branch is 13 commits ahead, 2 commits behind newshorts:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
dist
example
src
README.md
bower.json
jsconfig.json

README.md

PLEASE USE THIS BRANCH: https://github.com/bfred-it/iphone-inline-video

SYNOPSIS

InlineVideo.js is intended to allow users on an iphone to play videos inline in the safari browser, circumventing the default fullscreen behavior.

CHANGELOG

  • 0.0.4
    • Added fall back to native video for non IOS browser
    • Added function to play an audio file with the video
    • Added video event listener of ondataloaded and onendded
    • Added a parameter fake_ios for testing purpose
  • 0.0.3
    • Changed implementation of adding and removing event listener for touchstart
  • 0.0.2
    • Re-coded in ES6
    • Removed jquery dependency
    • Removed event listeners onproess, onmetadata, onloadeddata, onloadstart
    • Removed function of auto convert video tags with "playsinline" attribute
    • Removed create canvas element with Javascript
    • Removed play, stop buttons created with JavaScript

TODO

  • Add function to play an audio file along with the video
  • To write a fall back to native feature if the mobile device is Android

HOW TO USE

You can’t perform that action at this time.