Forum Discussion

tattness's avatar
tattness
Binge Watcher
5 years ago
Solved

Feed URL errors from Dailymotion

I am creating my own channel and decided on Dailymotion to host my videos. I have the videos on Dailymotion set as private and I am having difficulty with the feed URL in the direct developer. I have tried the Dailymotion channel URL itself then created a playlist with all my content and used the URL for the playlist itself. In the video format portion I keep getting an error The server returned a non-200 status code - (301) for any selection (all videos are in MP4 format) even the MP4, MOV or M4V selection. Is this happening due to the videos being set as private? Thank you.

  • I'm not familiar with Dailymotion as a 'video host', however are you sure it offers proper urls?  Reason I ask, is Youtube for example, does a form of backend redirect, so its a shorter, more friendly url path. Dailymotion, for example, on their website offers something like:

     

    https://www.dailymotion.com/video/x7xlhgy

    but that isn't the 'real' filepath the the video.  Kinda like File Explorer on your PC, the true 'server path' to the video is likely something longer, like dailymotion.com/external/videos/account124239y864/21374892636hihvgh8uixcbvjkgfnxcvjkiug781

     

    Doesn't look very friendly to copy & paste, so they create a 'shortlink' for it.  Only problem is Roku's servers won't go thru the 'Redirecting' process, and it'll return 'Video Not Found'. Sounds like whats likely happened here. Vimeo Pro offers video hosting, and a search for 'hosting' will probably return some other results.

  • I'm not familiar with Dailymotion as a 'video host', however are you sure it offers proper urls?  Reason I ask, is Youtube for example, does a form of backend redirect, so its a shorter, more friendly url path. Dailymotion, for example, on their website offers something like:

     

    https://www.dailymotion.com/video/x7xlhgy

    but that isn't the 'real' filepath the the video.  Kinda like File Explorer on your PC, the true 'server path' to the video is likely something longer, like dailymotion.com/external/videos/account124239y864/21374892636hihvgh8uixcbvjkgfnxcvjkiug781

     

    Doesn't look very friendly to copy & paste, so they create a 'shortlink' for it.  Only problem is Roku's servers won't go thru the 'Redirecting' process, and it'll return 'Video Not Found'. Sounds like whats likely happened here. Vimeo Pro offers video hosting, and a search for 'hosting' will probably return some other results.

  • To add to what others have said, make sure you have an understanding of the amount of traffic you will see for the channel. Failure to use a legitimate CDN will come back to bite you as poor performance and user complaints.

    Roku recommends the use of a good CDN to serve video content. I believe they have a list of recommended servers on their site.

    • tattness's avatar
      tattness
      Binge Watcher

      Baradanikto I have since then changed to a CDN via Amazon S3 bucket and Amazon Cloudfront. However this has not gone smoothly and I keep running into errors, namely The server returned a non-200 status code - (403). I have read countless tutorials, watched videos and researched solutions but have come up short. From my understanding this error is from the S3 bucket permissions so I have changed permissions to allow public permission to read the content of the bucket itself. Alas I still receive this error regardless. I currently have 1 mp4 video file in the bucket of a music video that is 3 minutes and 47 seconds long to test my feed before adding the rest of the content for my channel. I am using the domain url of the Cloudfront distribution MYBUCKET.s3.amazonaws.com in the feed url on Roku's developer.
      Constantly running into these errors is beyond frustrating and not being able to seemingly find solutions and any help or suggestions is greatly appreciated.

      • Baradanikto's avatar
        Baradanikto
        Roku Guru

        tattness I also use S3 with CloudFront.  I've never had a problem with access.  If you can, please post your feed file, or, a snippet showing the video object in the feed file.