Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

youtube embed

Featured Replies

Hi,


I am having some trouble embedding youtube videos. I of course know about the simple embed code within youtube itself but I am trying to replicate the videos (not coded by me) that are present here: http://jamesgoodwin.co.uk/new-site/listen.html and add new clips (along the bottom row)


The code is:


<object width="300" height="300" style="float: left;padding: 5px;">


<param name="allowFullScreen" value="true" />

<param name="allowscriptaccess" value="always" />

<embed src="http://www.youtube.com/watch?v=5bwdxPw3qNI&hl=en&fs=1&rel=0&color1=0x2b405b&color2=0x6b8ab6&border=1" width="300" height="300" align="middle" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true"></embed>

</object>


I have tried copying the code above and replacing the youtube URL unique to a different video within the 'value' and the 'embed src' tags but this doesn't seem to work.


Can anyone advise how to replicate this kind of embedding method with other video clips?


It would be greatly appreciated.


Sam

I don't know if this is your problem, but when using the object tag I think you need to make sure that the src attribute is a flash file (not the youtube html page you would use for iframe embedding). Go to the youtube page of the video you wish to embed, select share>embed and check "Use old embed code". This will generate the code you need.

Edited by Nillervision

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.