Hi All,
I am working on polishing the ABC iView Site for OnlineVideos. I have now got to the point where I get a JSON for a program with some playlists. See the code below. What I am best to do to 1: Give a default VideoURL from the F4M and/or M3U8 files AND/OR 2: Provide multiple playlists for different.
Please help
Thanks
[DOUBLEPOST=1441458573][/DOUBLEPOST]Forgot to mention, all the URLs will are not tested yet and likely to need to be retrieved using the ABC iView Auth method.
I am working on polishing the ABC iView Site for OnlineVideos. I have now got to the point where I get a JSON for a program with some playlists. See the code below. What I am best to do to 1: Give a default VideoURL from the F4M and/or M3U8 files AND/OR 2: Provide multiple playlists for different.
Please help
Thanks
Code:
{
"seriesTitle": "New Tricks",
"title": "Series 10 Ep 10 Wild Justice",
"href": "programs\/new-tricks\/ZX9629A010S00",
"channel": "abc1",
"pubDate": "2015-09-05 21:30:00",
"thumbnail": "http:\/\/cdn.iview.abc.net.au\/thumbs\/i\/ZX9629A010S0053db2e4e9e09b8.86477790_1280.jpg",
"episodeHouseNumber": "ZX9629A010S00",
"duration": "3525",
"rating": "PG",
"label": "59 mins",
"expireDate": "2015-09-19 21:30:00",
"seriesHouseNumber": "ZX9629A",
"categories": [
{
"title": "DRAMA",
"href": "category\/drama"
}
],
"description": "Miller faces a dilemma following the investigation into a corrupt senior officer. CAST: Sasha Miller, Sandra Pullman",
"related": "related\/ZX9629A010S00",
"buy": {
"apple": "http:\/\/itunes.apple.com\/WebObjects\/MZStore.woa\/wa\/viewTVSeason?uo=5&i=759379565&id=741790078&at=11l758",
"google": "https:\/\/play.google.com\/store\/tv\/show?id=Iosq4uZXq2U&cdid=tvseason-R1jNfvHUbRCqRDpAS4Errg&gdid=tvepisode-vYJX_w1y41Q",
"shop": "https:\/\/shop.abc.net.au\/products\/new-tricks-3dvd-sr-10?WT.ac=Commercial_Shop-ShopOnline%7Cabcshop%7Ciview-dto-new-tricks-series-10-ep-10-wild-justice"
},
"availability": "Broadcast 8:30pm Saturday 5 September 2015. Published 47 minutes ago, available until 9:30pm on 19 September 2015. File size approx. 294 MB",
"streams": {
"hls-high": [
"http:\/\/iviewhls-i.akamaihd.net\/i\/SMIL\/classification\/PG.smil\/master.m3u8",
"http:\/\/iviewhls-i.akamaihd.net\/i\/playback\/_definst_\/_video\/newtricks_10_10_,650000,495000,205000,40761,.mp4.csmil\/master.m3u8"
],
"hls-base": [
"http:\/\/iviewhls-i.akamaihd.net\/i\/SMIL\/classification\/PG.smil\/master.m3u8",
"http:\/\/iviewhls-i.akamaihd.net\/i\/playback\/_definst_\/_video\/newtricks_10_10_,650000,495000,205000,40761,.mp4.csmil\/master.m3u8"
],
"hls-low": [
"http:\/\/iviewhls-i.akamaihd.net\/i\/SMIL\/classification\/PG.smil\/master.m3u8",
"http:\/\/iviewhls-i.akamaihd.net\/i\/playback\/_definst_\/_video\/newtricks_10_10_,495000,205000,40761,.mp4.csmil\/master.m3u8"
],
"hds-metered": [
"http:\/\/iviewmetered-vh.akamaihd.net\/z\/SMIL\/classification\/PG.smil\/manifest.f4m",
"http:\/\/iviewmetered-vh.akamaihd.net\/z\/playback\/_definst_\/_video\/newtricks_10_10_,650000,495000,205000,40761,.mp4.csmil\/manifest.f4m"
],
"hds-unmetered": [
"http:\/\/iviewum-vh.akamaihd.net\/z\/SMIL\/classification\/PG.smil\/manifest.f4m",
"http:\/\/iviewum-vh.akamaihd.net\/z\/playback\/_definst_\/_video\/newtricks_10_10_,650000,495000,205000,40761,.mp4.csmil\/manifest.f4m"
]
},
"playlist": [
{
"type": "rating",
"hls-high": "http:\/\/iviewhls-i.akamaihd.net\/i\/SMIL\/classification\/PG.smil\/master.m3u8",
"hls-base": "http:\/\/iviewhls-i.akamaihd.net\/i\/SMIL\/classification\/PG.smil\/master.m3u8",
"hls-low": "http:\/\/iviewhls-i.akamaihd.net\/i\/SMIL\/classification\/PG.smil\/master.m3u8",
"hds-metered": "http:\/\/iviewmetered-vh.akamaihd.net\/z\/SMIL\/classification\/PG.smil\/manifest.f4m",
"hds-unmetered": "http:\/\/iviewum-vh.akamaihd.net\/z\/SMIL\/classification\/PG.smil\/manifest.f4m"
},
{
"type": "program",
"captions": {
"src-vtt": "http:\/\/iview.abc.net.au\/cc\/newtricks_10_10_v2.vtt",
"src-xml": "http:\/\/iview.abc.net.au\/cc\/newtricks_10_10_v2.xml",
"live": "0"
},
"hls-high": "http:\/\/iviewhls-i.akamaihd.net\/i\/playback\/_definst_\/_video\/newtricks_10_10_,650000,495000,205000,40761,.mp4.csmil\/master.m3u8",
"hls-base": "http:\/\/iviewhls-i.akamaihd.net\/i\/playback\/_definst_\/_video\/newtricks_10_10_,650000,495000,205000,40761,.mp4.csmil\/master.m3u8",
"hls-low": "http:\/\/iviewhls-i.akamaihd.net\/i\/playback\/_definst_\/_video\/newtricks_10_10_,495000,205000,40761,.mp4.csmil\/master.m3u8",
"hds-metered": "http:\/\/iviewmetered-vh.akamaihd.net\/z\/playback\/_definst_\/_video\/newtricks_10_10_,650000,495000,205000,40761,.mp4.csmil\/manifest.f4m",
"hds-unmetered": "http:\/\/iviewum-vh.akamaihd.net\/z\/playback\/_definst_\/_video\/newtricks_10_10_,650000,495000,205000,40761,.mp4.csmil\/manifest.f4m"
}
],
"transmitDate": "2015-09-05 20:30:00",
"transmitChannel": "ABC1",
"captions": "http:\/\/iview.abc.net.au\/cc\/legacy\/newtricks_10_10_v2.vtt",
"share": "http:\/\/iview.abc.net.au\/programs\/new-tricks\/ZX9629A010S00"
}