The RPG Maker Resource Kit

RMRK Announcements, Support, Feedback and Archives => Forum Announcements => News & Updates => Topic started by: Roph on October 10, 2009, 06:22:35 AM

Title: Media Updates
Post by: Roph on October 10, 2009, 06:22:35 AM
Just the result of some tinkering. :)

First off, it's now possible to embed all kinds of media attachments easily. You no longer need to add any file extensions onto your attachment URLs, rmrk handles it all for you. For example, you can stream this MP3 attached to this post. The Generic tag is [ audio ], though if you have troubles you can use filetype specific ones: [ mp3 ], [ aac ] or [ m4a ]. Previous embed codes containing edited URLs will still work fine. :)

The player has now been widened, the entire song duration is displayed also, and the pointless fullscreen button when playing only audio is gone.

Download http://rmrk.net/index.php?action=dlattach;topic=35122.0;attach=18106

The same goes for video, and the [ video ] tag.

Finally, there is also a new simplified youtube tag. The old [ youtube ] tag required you to cut out the video ID and provide a size, which was cumbersome for some users. Most times that I see a big white square in posts, is because they've not done this with the youtube tag. For that reason, there is a new [ yt ] tag. Just paste a youtube video URL into [ yt ] tags and the rest is handled, even if there is extra junk such &feature=related and so on :)

<a href="http://www.youtube.com/watch?v=PMD5FS20tTY" target="_blank">http://www.youtube.com/watch?v=PMD5FS20tTY</a>


Again, the old [ youtube ] tag will be preserved and old posts using it will still show fine. Soon the bbcode button you see when posting will change to the [ yt ] tag.  :)
Title: Re: Media Updates
Post by: Roph on October 10, 2009, 07:13:31 AM
<a href="http://www.youtube.com/watch?v=0xw7SXlLEeo" target="_blank">http://www.youtube.com/watch?v=0xw7SXlLEeo</a>


BBC buton when posting now uses the new tag, and it works with extra clutter in the URL  :blizj:

Damn roph you smart :zwink:
Title: Re: Media Updates
Post by: Grafikal on October 10, 2009, 07:19:26 AM
Damn roph you smart. :)
Any chance you think you might throw down some code to embed from other sites other than youtube? Like vimeo or similar.
Title: Re: Media Updates
Post by: Zylos on October 10, 2009, 01:33:37 PM
Damn roph you smart. <3
Title: Re: Media Updates
Post by: Jules on October 10, 2009, 03:18:00 PM
rophl;

<3
Title: Re: Media Updates
Post by: Kokowam on October 11, 2009, 12:50:09 AM
gj :police: