Not joined yet? Register for free and enjoy features such as alerts, private messaging and viewing latest posts and topics.

Embed YouTube Videos in posts?

Discuss ideas for improving and developing this forum
Post Reply
gs223
Member
Member
Posts: 61
Joined: Thu Aug 17, 2017 10:49 pm

Embed YouTube Videos in posts?

Post by gs223 » Tue Aug 22, 2017 8:06 am

X3 2004 3.0i SE

User avatar
X5Sport
Global Moderator
Global Moderator
Posts: 18788
Joined: Fri Sep 03, 2010 4:09 pm
Location: Planet X6......

Re: Embed YouTube Videos in posts?

Post by X5Sport » Tue Aug 22, 2017 8:11 am

Just get the link from YouTube and paste it into your post.  Not sure about 'embedding' as that depends upon the site owners settings.  Photos can't be uploaded directly, only linked to, although Photobucket have now messed that up via Tinypic.
:ant: Never anthropomorphise computers. They hate that.

gs223
Member
Member
Posts: 61
Joined: Thu Aug 17, 2017 10:49 pm

Re: Embed YouTube Videos in posts?

Post by gs223 » Wed Aug 23, 2017 8:44 pm

Here's an example of what I had in mind:
http://robertinventor.com/smf/links/how ... his-forum/
X3 2004 3.0i SE

User avatar
X5Sport
Global Moderator
Global Moderator
Posts: 18788
Joined: Fri Sep 03, 2010 4:09 pm
Location: Planet X6......

Re: Embed YouTube Videos in posts?

Post by X5Sport » Wed Aug 23, 2017 9:14 pm

We can't load photos directly and embedding may be under the same scope?  It's all about storage and data flow charges.  This is a free forum and as far as I know Ad free too (I use ad blockers anyway).  We have had ads on here but some 'inappropriate' ones appeared so I guess it got taken off again?

What happened when you tried?

There are ways of doing things by using the 'earth' symbol in new/amended posts - as long as you are happy in using HTML code  :)
:ant: Never anthropomorphise computers. They hate that.

gs223
Member
Member
Posts: 61
Joined: Thu Aug 17, 2017 10:49 pm

Re: Embed YouTube Videos in posts?

Post by gs223 » Thu Aug 31, 2017 12:16 am

I've tried a variety of approaches on the embedding question and none worked, almost certainly for security reasons.

The Earth [ url ] facility simply allows a hyperlink to have a different (usually shorter and descriptive) title. AFAICS, there are three ways to support YT video embedding on SMF:
  • Allow the [ html ] facility
  • Allow the [ flash ] facility
  • Support a YT SMF mod as linked above
The first two are pretty open to abuse, the last rather less as it is restricted to YT content only.

There is no impact on data storage or data flow costs, as what is passed to the user's browser is the YT destination link, not the video content, and the browser fetches the video directly from YT.

As all posts have a "Report to moderator" link, I'd say this is a relatively low-risk enhancement. When I ran a Drupal-based forum, it was a really popular facility.
X3 2004 3.0i SE

Post Reply