YouTube and other videos on your site

Publishing Youtube or other videos on your flash arcade site is an easy way to make it way more interesting and therefore attractive for your visitors. In this article I'll show you how to pulish video files using ProArcadeScript.

 

YouTube and other videos on your flash arcade site

I know, most webmasters do not consider arcade scripts as a good platform for video publishing, but that does not mean you can't put a movie on your arcade site. After all, this will make your site a bit more interesting and I'm sure, your visitors will enjoy watching newest video game review or any other games-related videos.

Please note, ProArcadeScript v1.3 or higher is required to publish external media.

So, how can we publish a video file from Youtube?

First of all, sorry for a small mistake in the database structure - I thought 255 chars are enough for filenames, but embedded games and videos do require a bit more. That's why before we proceed, I should ask you to modify 1 field - 'file' in [_your_prefix_]games table inside your arcade site's database from varchar(255) to text, see the first screenshot. You can do that using phpMyAdmin located in your hosting control panel.

Now we can start adding videos to our website. We'll do that in 4 easy steps:

  • Go to youtube.com (or any other site offering videos) and find the movie you are going to publish. Now take the thumbnail picture (see screenshot 2) and give it any suitable name. Make sure there is no thumbnail with the same name on your site.

  • Open video page and copy the "Embed" code to clipboard (see screenshot 3)

  • Log in to your admin CP, click the "Add game" button and fill up the form as shown on the third screenshot (embedded game code is pasted from the clipboard, width and height are taken from that code). Submit the form.

That's it. The result is shown on the last screenshot, you can also check it on this page

Comments and questions are welcome

Have a question or want to discuss this article? Feel free to visit this thread on ProArcadeScript forums

Video Sources

Screenshots

Click on the image to enlarge it


'file' field


Save thumbnail


Embed code


Fill up the form