How to create custom progress bar for Azure media player with bufferring data - azure-media-player

Want to develop custom progress bar for Azure Media Player.
In the progess bar have to display the bufferring data progress and played time as well.
Have tried to create progress bar with Javascript but don't know how to fetch the bufferring data.

Related

Youtube Iframe Player API Developer Policy Inquiries

I would like to ask about developer policies of Youtube Iframe Player API(https://developers.google.com/youtube/iframe_api_reference).
Our team is currently developing an iOS app including Youtube embedded player.
We would like to check if our use cases below violate the rules for embedded youtube player.
Would it be okay if we use invisible player which we set opacity zero for purpose of getting thumbnail images in video?
Thumnails are taken by invisible player in the way as seeking to specific time and capture view at the time.
The thumnails are solely used for progress bar which consist of sequential images as green box in the below image and each image indicates each parts of video and there is no other purposes.
Images are made and used only in client local environment and not saved in our database.
Additionaly, can we provide the thumbnail extracted in the above method which background is removed?
Would it be possible that we hide below title bar which shows when player paused by adjusting CSS style, view frame size ?
Is there the other way to hide title bar ?
it seems that there are other mobile app services in Korea also using embeded player without titlebar like ‘Cake’ ( https://apps.apple.com/kr/app/cake-케이크-영어회화/id1350420987 )
We are developing feature ‘Metronome’ using BPM(beat per minute). for this, we need to use Audio PCM data in Video. regarding this we are currently examining three cases.
is it allowed to extract audio file from video to get PCM data?
is it allowed to access to device’s audio buffer to get PCM data?
is it allowed to record audio with mobile device to make audio file ?
Is it possible to provide a Metronome function that repeatedly plays a specific sound simultaneously with the audio of the Youtube video?
Would it be okay if we invert embeded player left and right? we plan to provide a mirror mode for user so that they practice dance conveniently.
Is it possible to provide a function that play repeatedly the specific time range (ex. from 00:05 to 00:10)?
Is it possible to provide a function that does not play immediately when the play button is pressed, but counts down for a certain period of time, such as 3 seconds, to play?

Overlay, Search functionality in TVML App

We are building a TV application with user login and playing videos with search functionality. So we have designed our home screen with catalog template as in the below picture.
https://i.stack.imgur.com/1BWjl.jpg
Our Pending tasks are
1. Playing Videos in overlay with tag.
We are trying to achieve overlay with videofiles in a shelf. An api call result gives a list of videos which has to play in video player. The first item in the array should play in video player and remaining array items should display as overlay in the shelf. On mouse over, video file in overlay, should play in the overlay itself, with the help of tag, just like thumbnail video play. We tried a lot to play a video in overlay with the tag. But we couldn't do that.
A progress bar to be displayed on the current video which is being
playing.
We expected video play with progress bar and overlay on video player, but we got the output as in the link. https://i.stack.imgur.com/gepIo.jpg.
Progress bar is missing and videos inside the overlay are not playing.
Search functionality
End user can be able to search other users. So we have planned search functionality as a separate link. We have implemented search functionality as a separate template. Its working perfectly, but if i add it in the catalog template as a list item, search template is not loading.
Here is the code for the above application.
https://github.com/TVMLBegnr/TVMLApp
Can any one help me on these tasks. I am not finding TVML experienced people. I can even pay for the tasks.

Is there a way to show custom subtitles track name in AVPlayerViewController

AVPlayerViewController can perform a lot of work like switching audio/subtitles tracks, draw progress bar, retrieving thumbnails etc. On tvOS it automatically display builtin tracks in top bar and accept event from remote control.
It recognize WebVTT subtitles and can display user selected track. But it doesn't work with SMPT-ETT/TTML subtitles. There is a way to manually decode and display subtitles of these formats. But is there a way to add a button with track language to a "Subtitles" chapter?
If you create a new AVMediaSelectionOption of type AVMediaCharacteristicLegible and add it to AVAsset's mediaSelectionGroup(AVMediaSelectionGroup) and provide that asset to the AVPlayer it should show up in that list above the player.

How to display progress bar of video progress?

I am using Delphi 5.
I am able to display the .avi or any other video clips using TFilterGraph, but i need to display the progress of video completion, so how could I do that using TFilterGraph.
I need to run next video immediately, so how could I do that as well.
You should request IMediaSeeking interface from the graph object and then call its GetPositions method to learn current position in playback.
Also you can request IMediaEvent interface from the same graph object and then in your main loop get graph events. You'll get EC_COMPLETE event the moment playback ends.

How do I remove pause from controlbar of youtube videos?

I have a page with an embedded youtube video. I want to keep part of the control bar - the part that shows progress and that the user can drag back and forth. But I don't want to keep the pause/play feature of the control bar. Is there a way to do that?
If you a Youtube Javascript API if you can play and stopping and video from code at the events that you want! See the docs...

Resources