How to embed videos from the Xfire gaming network

Posted on: October 10, 2008

I'm always interested in better, faster ways to upload videos. I heard about Xfire a long time ago, but only became aware today that their client — in addition to connecting you to your friends across 1,000+ games — records movies! Previously, I covered how to record videos with WeGame, but Ravenelle was having some problems with her sound setup, so we stumbled across this. I'll likely be sharing further impressions in the future, since I'm surprised by how optimized and sharp the quality is for a free recorder.

Oddly tho, while there are ways to link to a video, I don't see easy copy-and-paste embed code like just about every other video-sharing site out there. I browsed the forums and came across this helpful thread. Thanks to those avid gamers, the solution is pretty easy.

My main domain is Second Life, but this applies to any Xfire game vid once you have it up on the site:

First, go to the video's page. You'll find it on your profile's videos page. For example, mine is: http://www.xfire.com/profile/torley/videos/ and we'll use http://www.xfire.com/video/31246/ as an example.

Note the video's ID. In this case, "31246".

Use this code:

<object width="480" height="400"><param name="movie" value=http://media.xfire.com/swf/vplayer><embed src="http://media.xfire.com/swf/vplayer.swf" quality="high" flashvars="videoid=*****" type="application/x-shockwave-flash" wmode="transparent" width="480" height="400" allowfullscreen="true"></object>

Replace the "*****" with the video ID. In this case, "31246" so it looks like:

<object width="480" height="400"><param name="movie" value=http://media.xfire.com/swf/vplayer><embed src="http://media.xfire.com/swf/vplayer.swf" quality="high" flashvars="videoid=31246" type="application/x-shockwave-flash" wmode="transparent" width="480" height="400" allowfullscreen="true"></object>

If needed, adjust the width and height — both pairs.

Now paste that completed code as expected into your blog or other supported site.

Result:

Alternatively, if you want autoplay and/or the share options to appear at the end, you could copy-and-paste the code from the video page's source. But those aren't parameters aren't necessary for playback.

One quirk I've noticed so far is that the "full-screen mode" button maximizes on the primary display (I have dual monitors) instead of the one the embedded video's actually on.

I've written to Xfire requesting formal embedding support so this is an easier process. I'd imagine it's a popular request, but my earlier googling didn't turn up a visible interim solution, so I hope this helps you!

Let me know if it does… otherwise, I wouldn't know. ;)

3 Responses to “How to embed videos from the Xfire gaming network”

  1. Torley Says:

    THX to Xfire's Gamma for a correction re: the embed code! :D

  2. loan1wolf turbo Says:

    my work on xfire http://www.xfire.com/video/335de/

  3. Torley Says:

    *checks it out*

Make a Reply