Reputation: 2060
I am trying to develop HLS streaming web app using tizen studio. My question is can i use external library like https://www.mediaelementjs.com/ Please help i am new to tizen.
Thank you
Upvotes: 0
Views: 974
Reputation: 176
Yes, it's possible to use external libs.
You just need to include the scripts in your HTML file as a regular web page.
I have worked before with this lib on Samsung TVs and overall has a good performance, however, if you want to have Samsung support for issues on streaming videos (m3u8/DRM) you need to use Samsung's player here
Example:
<script src="https://cdn.jsdelivr.net/npm/hls.js@latest"></script>
<!-- notice: this will bring latest hls version always -->
Upvotes: 0
Reputation: 698
You can use external libraries in your web application. Just copy the libraries sources in your app and use it
<script type="text/javascript" src="jsfile.js"></script>
Later just refer to library in your JS code
https://developer.tizen.org/community/tip-tech/guide-import-external-library-web-application
Upvotes: 2