Forum Discussion

melkat's avatar
melkat
Binge Watcher
6 years ago

Required caption url is unreachable

I'm trying to provide subtitles/captions for our videos. (We're using Direct Publisher.) However, I keep getting the error: "Required caption url is unreachable." I've tried linking to both srt and vtt files and getting the same result. Here's a snippet of code for one of them:

{
	"content" : 
	{
		"dateAdded" : "2019-10-01T22:20:20+00:00",
		"duration" : 2400,
		"captions" :
		[
			{
				"url": "http://podcast.uctv.tv/srt/35062.srt",
				"language": "en",
				"captionType": "SUBTITLE"
			}
		],
		"videos" : 
		[
			{
				"bitrate" : 1328,
				"quality" : "HD",
				"url" : "http://podcast.uctv.tv/vod/35062.mp4",
				"videoType" : "MP4"
			}
		]
	},
	"episodeNumber" : 4,
	"genres" : [ "educational" ],
	"id" : "35062channel",
	"longDescription" : "Join a panel of distinguished speakers as they explore broad themes woven throughout Geisel's works and its literary and artistic impact. ",
	"releaseDate" : "2019-10-01",
	"shortDescription" : "Themes in Geisel’s work its literary and artistic impact.",
	"tags" : [ "arts and music", "humanities", "educational" ],
	"thumbnail" : "https://www.uctv.tv/images/widescreen/35062.jpg",
	"title" : "SUBTEST LA - The Private Art of Theodor Dr. Seuss Geisel - Dinner in the Library 2019"
},

Also, what's the difference between the "CLOSED_CAPTION" designation and "SUBTITLE"? I've tried indicating both, but I get the same error. 

Thank you,

Melissa

 

 

 

  • Are you sure that's the correct url?  I get a File/Directory not found on the page.

     

    As to Subtitles, Closed Captions, generally speaking captions are for the same language, just written for hearing impaired, and subtitles would be for a different language. I'm not sure how it varies in the coding, but from a front end user perspective, I can see how a user could try to select either/or, and be upset if the wrong one was given (if captions were hidden under subtitles instead of CC etc)

    • melkat's avatar
      melkat
      Binge Watcher

      Yes, it is. I also get that when I go directly to the url. I'm not sure why. But it absolutely is correct. 

      • Baradanikto's avatar
        Baradanikto
        Roku Guru

        Make sure that the location of the file is public and not private.