Jump to content

So I'm trying to make this little website where there are some games, but using the <embed> Tags it works in w3 schools try it editor when I insert the link and change the width and height but doesn't work when I do in Github.

(Was I supposed to put the width and height part in the style.css?)

 

https://www.w3schools.com/tags/tag_embed.asp

https://www.w3schools.com/tags/att_embed_height.asp

http://m.wikihow.com/Add-Fun-Games-to-Your-Web-Site-for-Free

https://github.com/SunZic/game

 

Thanks for the help

Quote

"(1) High Frame Rates (2) Ultra Graphics Settings (3) Cheap>>>>Choose only two" Chevaishr

https://myanimelist.net/profile/AnalCavity

PCPartPicker URL

https://pcpartpicker.com/b/bsJ8TW 

 
 
Link to comment
https://linustechtips.com/topic/836091-embedding-games-into-website-not-working/
Share on other sites

Link to post
Share on other sites

So we are talking about the same thing. With "they don't work" you mean the embed games do not show on the page https://sunzic.github.io/game/games.html.

 

On that page I see two out of the six games load just fine, the other four show an 'Blocked' warning in firefox. Those 4 games are all hosted on itch.io, That site has an CSP rule disallowing any page from them to be embed onto another website. I believe there is nothing you can do about that as it is a security feature.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×