Scott Westerfeld Forum

Poll

Would you like it?

Yes, please!
- 2 (25%)
No, that will just create confusion.
- 0 (0%)
What is this?
- 1 (12.5%)
I don't care
- 3 (37.5%)
No, explain below (or not)
- 2 (25%)

Total Members Voted: 6


Author Topic: Create cutom audio and video tags  (Read 2982 times)

Polandeer

  • Hero Member
  • *****
  • Posts: 10290
  • I Don't Post Much
    • Operation Observation
Create cutom audio and video tags
« on: June 28, 2012, 03:55:18 AM »

Allow users to embed audio and video using the html5 tags and BBCODE:

Code: (bbcode) [Select]
[video]http://imgq.tk/vid/video.webm[/video]
[audio]http://imgq.tk/aud/autdio.ogg[/audio]
[youtube]http://www.youtube.com/watch?v=XZejPM3Vm7A[/youtube]

Would become (through the use of custom bbcode tags):
Code: (html) [Select]
<video src="http://imgq.tk/vid/video.webm" controls="controls" preload="metadata" height="390">Your Browser does not support the HTML5 video tag. Please upgrade to a modern browser such as Firefox 4+.</video>
<audio src="http://imgq.tk/aud/autdio.ogg" controls="controls" preload="metadata">Your Browser does not support the HTML5 video tag. Please upgrade to a modern browser such as Firefox 4+.</audio>
<iframe width="640" height="390" src="http://www.youtube.com/embed/XZejPM3Vm7A" frameborder="0" allowfullscreen="allowfullscreen"></iframe>
Logged
~Westerforum Highly-Conservative Master SPEED POSTER AND TREE CLIMBER!~

Polandeer

  • Hero Member
  • *****
  • Posts: 10290
  • I Don't Post Much
    • Operation Observation
Re: Create cutom audio and video tags
« Reply #1 on: June 28, 2012, 04:55:12 AM »

Oh, just so you all know: The media would not play automatically and the Height (as shown in the second code box) would be 390 pixels (about as small as as a non-full-screen youtube video at 360p)
Logged
~Westerforum Highly-Conservative Master SPEED POSTER AND TREE CLIMBER!~

gavinfuzzy

  • Hero Member
  • *****
  • Posts: 1957
  • "I Shall Stand... ...The Rest Shall Fall"
Re: Create cutom audio and video tags
« Reply #2 on: June 28, 2012, 05:37:12 PM »

Yes. Is there also a way to limit the image size by using your own code, in this forum?
Logged
Please hold while I create a new sig~

Check out my Deviant Art too ^_^ http://gavinlimkj.deviantart.com/

Polandeer

  • Hero Member
  • *****
  • Posts: 10290
  • I Don't Post Much
    • Operation Observation
Re: Create cutom audio and video tags
« Reply #3 on: June 28, 2012, 10:09:50 PM »

Code: [Select]
[img height=300]http://somehost/somepicture.png[/img]

But that has nothing to do with this...
Logged
~Westerforum Highly-Conservative Master SPEED POSTER AND TREE CLIMBER!~

gavinfuzzy

  • Hero Member
  • *****
  • Posts: 1957
  • "I Shall Stand... ...The Rest Shall Fall"
Re: Create cutom audio and video tags
« Reply #4 on: June 28, 2012, 10:24:04 PM »

Code: [Select]
[img height=300]http://somehost/somepicture.png[/img]

But that has nothing to do with this...

Hmm... i missed that.  :-[
Logged
Please hold while I create a new sig~

Check out my Deviant Art too ^_^ http://gavinlimkj.deviantart.com/

Polandeer

  • Hero Member
  • *****
  • Posts: 10290
  • I Don't Post Much
    • Operation Observation
Re: Create cutom audio and video tags
« Reply #5 on: June 28, 2012, 10:24:35 PM »

It auto-scales the width in order to preserve the aspect ratio.

*Point gavinfuzzy to http://scottwesterfeld.com/forum/index.php?topic=9213.0*
Logged
~Westerforum Highly-Conservative Master SPEED POSTER AND TREE CLIMBER!~

Bea-la

  • Hero Member
  • *****
  • Posts: 8047
Re: Create cutom audio and video tags
« Reply #6 on: July 01, 2012, 03:11:07 AM »

The way you worded the no option your making it sound like we don't understand so we vote no.  I vote no anyway.  I don't want the forum cluttered with audio and video spam.
Logged

Polandeer

  • Hero Member
  • *****
  • Posts: 10290
  • I Don't Post Much
    • Operation Observation
Re: Create cutom audio and video tags
« Reply #7 on: July 01, 2012, 03:12:46 AM »

The way you worded the no option your making it sound like we don't understand so we vote no.  I vote no anyway.  I don't want the forum cluttered with audio and video spam.
True, which would be why we would force non-auto-play and smaller sizes (for video).

*Adds regular no option*
Logged
~Westerforum Highly-Conservative Master SPEED POSTER AND TREE CLIMBER!~

Bea-la

  • Hero Member
  • *****
  • Posts: 8047
Re: Create cutom audio and video tags
« Reply #8 on: July 01, 2012, 03:14:06 AM »

The way you worded the no option your making it sound like we don't understand so we vote no.  I vote no anyway.  I don't want the forum cluttered with audio and video spam.
True, which would be why we would force non-auto-play and smaller sizes (for video).

*Adds regular no option*
*Doesn't see it

Just think about what the spambots could do..... *shudders*
Logged

Polandeer

  • Hero Member
  • *****
  • Posts: 10290
  • I Don't Post Much
    • Operation Observation
Re: Create cutom audio and video tags
« Reply #9 on: July 01, 2012, 03:15:20 AM »

The way you worded the no option your making it sound like we don't understand so we vote no.  I vote no anyway.  I don't want the forum cluttered with audio and video spam.
True, which would be why we would force non-auto-play and smaller sizes (for video).

*Adds regular no option*
*Doesn't see it

Just think about what the spambots could do..... *shudders*
Hm. I have not seen any spambots here for a long time. SMF version 2, oh the joy!

ANYWAYS, here it is:
Logged
~Westerforum Highly-Conservative Master SPEED POSTER AND TREE CLIMBER!~

Bea-la

  • Hero Member
  • *****
  • Posts: 8047
Re: Create cutom audio and video tags
« Reply #10 on: July 01, 2012, 03:17:13 AM »

The way you worded the no option your making it sound like we don't understand so we vote no.  I vote no anyway.  I don't want the forum cluttered with audio and video spam.
True, which would be why we would force non-auto-play and smaller sizes (for video).

*Adds regular no option*

Just think about what the spambots could do..... *shudders*
Hm. I have not seen any spambots here for a long time. SMF version 2, oh the joy!uters.
*Doesn't see it

ANYWAYS, here it is:

Oh that's right.  I just don't really see why we would NEED to have videos and audio.  It would just annoy me and slow down browsing.
Logged

Polandeer

  • Hero Member
  • *****
  • Posts: 10290
  • I Don't Post Much
    • Operation Observation
Re: Create cutom audio and video tags
« Reply #11 on: July 01, 2012, 03:18:43 AM »

Eh. It was just a quick idea. Obviously links work fine.
Logged
~Westerforum Highly-Conservative Master SPEED POSTER AND TREE CLIMBER!~

Rhiannon

  • Jr. Member
  • **
  • Posts: 77
  • My other spaceship is a book.
Re: Create cutom audio and video tags
« Reply #12 on: September 10, 2012, 03:11:30 AM »

Well but perhaps there could be an option button in your profile settings. Just like you can turn off signatures you could have an option not to view video and audio posts, that way it can easily be turned of and on depending on what you prefer. It can be used to enhance players experience who wis to use it, and those who don't want it, its simple to turn off. That would make everyone happy.
Logged

Polandeer

  • Hero Member
  • *****
  • Posts: 10290
  • I Don't Post Much
    • Operation Observation
Re: Create cutom audio and video tags
« Reply #13 on: September 10, 2012, 07:13:33 AM »

Good idea...
Logged
~Westerforum Highly-Conservative Master SPEED POSTER AND TREE CLIMBER!~