Home Joomla Extensions Plugins Make Flash Links Absolute

Make flash video links absolute

Background

When making a site for a client which involved a lot of embedded flash videos, we noticed that we kept losing the video in Internet Explorer (v6 + 7). This turned out to be caused by a combination of the SEF (Search-Engine-Friendly) url rewriting and the use of relative links to the videos in the articles. We could fix it by changing all of the links to absolute ones, but this meant going into hundreds of articles and changing each video link. Also it would have meant that were the client to move server at some point in the future, the whole process would have to be done again. Not good!

Technicalities

This little plugin scans each page and if a <param> tag is found with a .swf inside it as its value, it sticks "JURI::Base()" at the start of the value. Its very simple, no more than 5 lines of code. There are other solutions, ie by using a proper video player, but if you want to stick to the standard Joomla embed and are coming across this problem this should do the trick.

Downloads

Make flash video links absolute Version: 1.0 Download
GNU/GPL This e-mail address is being protected from spambots. You need JavaScript enabled to view it Homepage 2009-06-04 English Joomla 1.5 1.35 KB901

Comments

Name *
Email (For verification & Replies)
Code   
ChronoComments by Joomla Professional Solutions
Submit Comment