videogular / videogular2

The HTML5 video player for Angular 2
https://videogular.github.io/videogular2-showroom/#/
MIT License
672 stars 210 forks source link

Videogular cannot play wma file #753

Closed TangTing528 closed 6 years ago

TangTing528 commented 6 years ago

Description

Describe the issue or new feature.

Expected Behavior

If this is an issue, document the expected behavior. If this is a feature, delete this block.

Actual Behavior

If this is an issue, describe the actual behavior. If this is a feature, delete this block.

Steps to Reproduce

If this is an issue, describe the steps you took to see the issue. If this is a feature, delete this block.

  1. Step 1
  2. Step 2

Attachments

Try to include screenshots for bugs or design assets for enhancements

Image Title
(https://media.giphy.com/media/143vPc6b08locw/giphy.gif)
Image description
kwarismian commented 6 years ago

Videogular's standard media object wraps standards based HTML video objects. Unfortunately WMV is not supported by any HTML video Stack overflow reference

However, if you are willing to build your own custom Media object (inheriting from IPlayable) you should be able to use Videogular to play them using an <object> embed.

Similar to this purpose in the past I have built a custom media object that allows flash fallback to a flashls swf, and it works great with Videogular. If you choose to go this route and have trouble creating your custom media, feel free to reach out and we can hopefully point you in the right direction.

There is an example of a custom media object in the videogular showroom and the code for that can be found in the showroom repository