Play Video In Ionic/AngularJs from a remote url and from Base64 string

We can use

for playing video.
See how we can do that in this post:
In html page:

The controls attribute is a boolean attribute. The values “true” and “false” are not allowed on boolean attributes. To represent a false value, the attribute has to be omitted altogether.

Video controls should include:

  • Play
  • Pause
  • Seeking
  • Volume
  • Fullscreen toggle
  • Captions/Subtitles (when available)
  • Track (when available)

In .js page

Another Method:

We can use iframe instead. See how we are using that.

In html Page


In Css page:

In .js Page:

Here in the above code its shown how we can call a video from in its Base64 String
Orelse, you can use link in the same position also.

Leave a Reply

Your email address will not be published. Required fields are marked *