Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
fyb3roptik
Roku Guru

HLS Trickplay example not working

Trying to get Trickplay working and the example here has a bad URL

https://github.com/rokudev/trickplay-samples/issues/3

Added an issue for it above. Please fix so that I can get Trickplay working! All examples currently do not work and I cannot for the life of me even get it to work on your example code

0 Kudos
6 REPLIES 6
ferdiworks
Roku Guru

Re: HLS Trickplay example not working

In your feed add the following to the Duration code:

"duration": 0000, "trickPlayFiles": [ { "quality": "HD", "url": "Place Bif File Link Here" } ], 

 

example:

"duration": 5400000, "trickPlayFiles": [ { "quality": "HD", "url": "https://websitehostlink.com/bif/film1.bif" } ], 

 

Your JSON Feed code should be lined and coded like this:\

{
            "id": "%%id%%",
            "title": "%%title%%",
            "shortDescription": "%%short description%%",
            "tags": [
                "%%Tag%%"
            ],
            "genres": [
                "%%genres%%"
            ],
            "content": {
                "dateAdded": "%%date added%%T22:21:37+00:00",
                "duration": %%duration%%,
                "trickPlayFiles": [
                    {
                        "quality": "quality",
                        "url": "%%Bif File Link%%"
                    }
                ],
                "videos": [
                    {
                        "url": "%%video Link%%",
                        "quality": "%%quality%%",
                        "videoType": "%%videoType%%",
                        "bitrate": 5%%bitrate%%,
                        "filesize": "1866216308"
                    }
                ]
            },
            "author": "Joe Ferdinando",
            "thumbnail": "%%thumbnail Link%%",
            "releaseDate": "%%release date%%"
        },

 

 

OnDemandTV
admin@ondemandtvnetworks.com
0 Kudos
fyb3roptik
Roku Guru

Re: HLS Trickplay example not working

No not the bif one. The HLS one. The url is no longer valid!!! Did you even read my post?

0 Kudos
ferdiworks
Roku Guru

Re: HLS Trickplay example not working

The idea was for you to change the URL to your HLS link and test it!

OnDemandTV
admin@ondemandtvnetworks.com
0 Kudos
fyb3roptik
Roku Guru

Re: HLS Trickplay example not working

The issue here is without a valid example, who is to know if the HLS is correct. Please fix the URL to use a working example. THE EXAMPLE IS NOT WORKING. Luckily my HLS stream works, so I dont have an issue. I simply wanted the URL in the example fixed for the next person.

0 Kudos
ferdiworks
Roku Guru

Re: HLS Trickplay example not working

OK, If you use "tvSpecials" and HLS videos then you do not need trick play at all! If you use "Shortform, Movies or series and episodes" then you need trick play for any video more than 15 minutes!

OnDemandTV
admin@ondemandtvnetworks.com
0 Kudos
fyb3roptik
Roku Guru

Re: HLS Trickplay example not working

Yes I am fully aware of this which is why I said this needs to be updated. Trickplay is required for what I am doing. However the VODS in question are stored as an HLS stream, hence why I said the HLS portion of the example DOES NOT WORK. Simply updating the URL is all that is needed. I dont need you explaining things that are obvious or have nothing to do with the HLS example.

0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.