Network World

Weblogs

Search / DocFinder:
Advanced search
Research Centers
Vendor Solutions
Site Resources
Special Issues

Signature SeriesEnterprise All-Stars
Enterprise All-Stars NEW

You in action
You in action

New Data Center The New Data Center: Wireless & Mobility
Wireless & Mobility NEW

The New Data Center: Server Virtualization
Server Virtualization

Search The Multimedia Exchange

Scripting headaches


By Jason Meserve, NetworkWorld.com, 03/05/04

After posting the Basic Wireless LAN Security audio primer last Sunday night, I realized during testing that the scripting method we use for getting the slides to rotate in the browser window some how broke. Instead of the slides rotating in the same window (as happened with previous primers) they each opened in a new window. I checked previous primers and found the same problem. Doh! My suspicion is something changed in the way IE 6.0 and Windows Media 9 interoperate.

I dug around the Microsoft Knowledge base and came up with this potential fix: there's away to append a frame name on to the end of a the URL being called by the Windows Media file. Turns out, the same method can be used to call to a separate Window. (And thankfully, I had named the window created when the primer launches, even though we never referred to the name until now.)

While looking up this problem, I also discovered a new tag that can go into an ASX metafile: <BASE HREF="http://webserver/pathToYourSlides/" />. A BASE tag lets you specify the location of your slides so all you have to refer to in the Windows Media or ASF file is the name of the slide file itself. This way, if you move your slides to another directory, you just change the ASX file and not the actual media file. In the few years we've been doing these primers I've never moved any slide files but I figured this could be a nice future-proofing feature.

So I put a BASE tag in the new primer's ASX file and append the window name to the URL calls in the Windows Media audio file, post everything up and give it a fly. Bingo! Worked perfectly. At least on my Windows 2000 and XP machines, both running Windows Media 9 and IE 6. When I tested it out on a random machine at work (the public machine in our lobby) the slide changing mechanism didn't work. It seems as if older versions of Windows Media player (6.4 in this case) do not support the BASE tag, so all I got was a bunch of page not found errors. Fortunately, removing the BASE tag and putting the full URL back in the Windows Media file (along with the appended window name) worked.

As an added bonus, the slides always appear in the correct window. Previously, they'd appear in the IE browser window that had the current focus. So if a viewer clicked on to something else, the next slide could appear in a random window. The new method ensures they pop up in the right place at the right time.

TrackBack
Back to The Multimedia Exchange

Comments

Post a comment

Name:


E-mail address:


URL:


Comments:


Remember info?



TOP STORIES | MOST DUGG STORIES

  1. Cool Yule Tools: 2008 Holiday Gift Guide
  2. 10 kitchen gadgets for the geek gourmet
  3. Google admits to violating iPhone development terms
  4. Smartphone smackdown: Storm vs. iPhone
  5. Google layoffs: 10,000 jobs being cut
  6. Cisco shutting down between holidays
  7. IBM's 'Next Five in Five' predicts innovations that will change our lives
  8. 12 myths about how the Internet works
  9. Folding screen for mobile phones unveiled
  10. Kindle back orders stretch 3 months at Amazon

  11. MOST-WATCHED VIDEO:
    EU gets telecom reform on track

Newsletters
Sign up for one of NWW's Application newsletters.

Web Applications
Network Optimization
Network Systems Management
Network/Systems Management News Alert
View all newsletters

Email Address:

Vendor Solutions

White Papers

How to Lower Your Cost of Using Open Source Software
- Palamida

Software Assurance Protection: Bridging the Gap in Application Security for Open Source
- Palamida

Protecting Data on Laptops: Why Encryption Isn't Enough
- Absolute Software

More...

Special Report

Mapping a Successful Virtualization Course - American Power Conversion
Managing a newly virtualized environment can be tricky. Effectively deploy this technology with the advice and tips in Network World's latest Executive Guide, "Not Your Father's Virtualization Technology."


Research Centers: Applications | Application Development | Applications-Standards | Applications Vendor Solutions | Collaboration | CRM / ERP | Databases | Directories | Grid Computing | Java | Messaging | .Net | RFID | SOAP | Web Services | XML | Convergence & VoIP | Convergence Regulatory | Convergence Services | Convergence Standards | Convergence VoIP Vendor Solutions | Video | IP PBX | SIP | VoIP | VoIP Services | E-Business | DNS | RFID | Supply Chain | Web security LANs & Routers | Acceleration | Gigabit Ethernet | Lans-Standards | Routers | Wireless LANs | Network Management | Application Management | Desktop Management | Management Test Patch Management | Operating Systems | Linux | NetWare | Unix | Windows Outsourcing | Managed Services | Offshoring Security | Firewalls - VPN - Intrusion | Identity management | Patch Management | Microsoft Security | Privacy | Security Standards | Spam & Phishing | Viruses & worms | Web Security | Wireless Security | Servers & Desktop | Backup-Recovery | DataCenter | Desktops | Desktop Management | Grid | Servers | Server Blades | Servers Desktops | Utility Computing | Small & Medium Business | Broadband | Telework | Handhelds & PDAs | Home Networking | Security | Storage | Compliance | Infiniband | Network-Attached Storage | SANs | Storage Management | Storage Virtualization | Virtualization | Vendor News | Bankruptcy | Earnings | Lawsuits | Layoffs | Standards | Start Ups | Vendor Markets | Education | Financial | Healthcare | HIPAA | Manufacturing | Retail | Wide Area Network | Broadband | Carriers | Frame Relay | Metro Ethernet | MPLS | Service providers | Wireless services | Wireless & Mobile | Wireless LANs | PDAs & handhelds | Wireless Security | Wireless Services | Wireless Standards | Wireless Switches | All Company Profiles