The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> iframe Not Working
orcainbox
post Dec 11 2019, 02:40 AM
Post #1





Group: Members
Posts: 7
Joined: 29-November 19
Member No.: 27,055



I am trying to insert an iframe but its not working.

Whats wrong with my code?

<div>
<p style="text-align:centre;">
<iframe width="560" height="315" src="https://www.instagram.com/p/B50hlJiH585/?utm_source=ig_web_button_share_sheet" frameborder="0" allowfullscreen></iframe>
</p>
</div>

http://www.orcaaccounting.com/helloFriend.html
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
 
Reply to this topicStart new topic
Replies
CharlesEF
post Dec 15 2019, 01:48 AM
Post #2


Programming Fanatic
********

Group: Members
Posts: 1,981
Joined: 27-April 13
From: Edinburg, Texas
Member No.: 19,088



The new code doesn't have the query string part.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Dec 15 2019, 12:45 PM
Post #3


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



There wasn't a query string in the old either. I still have it. It's the same as now.

CODE
<iframe width="560" height="315" src="https://www.youtube.com/watch?v=riFyKUyGb4k" frameborder="0" allowfullscreen></iframe>


I changed that to the full youtube tag and then it worked for me.

CODE
<iframe width="560" height="315" src="https://www.youtube.com/embed/riFyKUyGb4k" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 24th April 2024 - 09:32 AM