jwplayer / jw-showcase-appletv

An Apple TV app builder written in TVJS with support for videos streamed out of the JW Player platform
Other
87 stars 44 forks source link

Dynamic Playlist #53

Closed vjxplicit closed 8 years ago

vjxplicit commented 8 years ago

Anyone else have issue with dynamic playlist. getting this error:

jwplayer-for-tv[8831:1172330] ITML : Unsupported tag [div]

Anyway to get dynamic playlist to work?

RikHeijdens commented 8 years ago

Thanks for this. We're working on a fix.

As for now, you can workaround this by making sure that a Poster Image has been set for your media.

RikHeijdens commented 8 years ago

This has been fixed in version 1.0.2. If you're using the "current" endpoint this will be fixed automatically, please let me know if you experience any other issues.

vjxplicit commented 8 years ago

This update does not seem to have fixed my issue. Even when all our media within the playlist have artwork it does not show a dynamic playlist. if i create a static playlist with same media manually attached it works fine.

Any suggestions?

RikHeijdens commented 8 years ago

Could you send me the identifier of the playlist?

vjxplicit commented 8 years ago

@RikHeijdens mKeT6eFS

RikHeijdens commented 8 years ago

I've downloaded your playlist and it looks like this:

{
    "playlist": [{
        "description": "Coming Soon",
        "pubdate": 1473675753,
        "tags": "oldschool",
        "image": "//content.jwplatform.com/thumbs/VROY1oJ4-720.jpg",
        "sources": [{
            "type": "video/mp4",
            "file": "https://vimeo.com/102797653"
        }],
        "tracks": [],
        "link": "//content.jwplatform.com/previews/VROY1oJ4",
        "duration": 0,
        "mediaid": "VROY1oJ4",
        "title": "Old School | Classics",
        "custom": {}
    }, {
        "description": "Rock, Pop & Nu~Wave",
        "pubdate": 1473680400,
        "tags": "Coming Soon,classics,oldschool",
        "image": "//content.jwplatform.com/thumbs/MvkPXYb3-720.jpg",
        "sources": [{
            "type": "video/mp4",
            "file": "https://vimeo.com/111315356"
        }],
        "tracks": [],
        "link": "//content.jwplatform.com/previews/MvkPXYb3",
        "duration": 0,
        "mediaid": "MvkPXYb3",
        "title": "80\u2019s Party Mix",
        "custom": {}
    }],
    "title": "Oldschool | Classics",
    "kind": "dynamic",
    "feedid": "mKeT6eFS"
}

As you can see the sources array contains a link to vimeo. This is incorrect, the file key in the sources object must point directly to a media file or stream.

The easiest way to solve this is to remove the videos with vimeo urls that do not point directly to media from your account. After you did you can upload the videos through our dashboard to your account and then the dynamic playlists should work for Apple TV.

vjxplicit commented 8 years ago

Will this work with hosted files within s3 bucket??

Get Outlook for Android

On Sat, Sep 17, 2016 at 4:57 AM +1200, "Rik Heijdens" notifications@github.com<mailto:notifications@github.com> wrote:

Closed #53https://github.com/jwplayer/jw-showcase-appletv/issues/53.

You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/jwplayer/jw-showcase-appletv/issues/53#event-792386635, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ASyyLjvxF4ti1cakAQF_C2GToCiKbNqIks5qqspqgaJpZM4J6lWE.

RikHeijdens commented 8 years ago

Yes, it will, as long as you provide a URL that directly links to the media.

vjxplicit commented 8 years ago

so no frontcloud support yet?

vjxplicit commented 8 years ago

can you check that playlist again. i have set it up with an rtmp link but still not showing anything.

RikHeijdens commented 8 years ago

RTMP is not supported on Apple TV.

You need to link directly to a HLS stream.

vjxplicit commented 8 years ago

Thanks for all your help. I really dont know what im doing wrong but just cant seem to get even direct files to work.

UaZ8FKwu - playlist that doesnt work. iZTDPPUd - playlist that has 2/3 files that work.

RikHeijdens commented 8 years ago

I've checked your playlists:

Most likely you just want to add HLS streams from Vimeo for every playlist item, that will solve your issue.

vjxplicit commented 8 years ago

O I thought it could play mp4 or HLS

Get Outlook for Android

On Mon, Sep 19, 2016 at 2:45 AM +1200, "Rik Heijdens" notifications@github.com<mailto:notifications@github.com> wrote:

I've checked your playlists:

Most likely you just want to add HLS streams from Vimeo for every playlist item, that will solve your issue.

You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/jwplayer/jw-showcase-appletv/issues/53#issuecomment-247851730, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ASyyLrX3yPRTE_530V7CULaaD3uNkDn0ks5qrU5ugaJpZM4J6lWE.