Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Embedded link issues

A topic by blabberbytes created May 22, 2020 Views: 1,320 Replies: 2
Viewing posts 1 to 2
(2 edits) (+1)

So im working on a simulation that required video to play on unity and itch.io. I'm just in the testing phase right now and have hit this problem. I ultimately want to  embed the itch.io page on to my website but when I use the provided embed link by itch.io,  the video's stop loading intermittently. Most of the time the video will not load. It will work the first time mostly then stop most of the time. I am streaming the video from Amazon S3. It never fails in unity.

This is the embed:

https://itch.io/embed-upload/2289815?color=333333

This is the project page which works fine:

https://blabberbytes.itch.io/test2

Note that the issue only only happens with the embed code and not on the itch.io page.

Please help! I need to move forward with this project soon.

(+1)

The embed code generated by itch.io lacks some attributes present in the iframe of the project page. As a result your project prints messages in the browser’s console indicating permission issues preventing the video from playing. It seems adding allow="autoplay" attribute to the iframe tag solves it.

(+1)

Hey Thanks for the response. I where do i put it in the iframe code? I tried this but it didn't help. Thanks

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.