Search /
Docfinder:
Advanced search  |  Help  |  Site map
RESEARCH CENTERS
SITE RESOURCES
Click for Layer 8! No, really, click NOW!
Networking for Small Business
TODAY'S NEWS
Mobile developers take measure of Windows Phone 7
New Cisco Ethernet switches to play broader video, security roles
Windows XP: No IE9 for you
Microsoft lowers Windows licensing costs for virtual desktops
Apple's Ban on Screen Protectors Makes (Some) Sense
Corporate IT eager to deploy Windows 7, survey shows
MIT researchers enable self-assembling of chips
8 things you didn't know about Windows Phone 7
Microsoft touts 'browser with no name' in Windows Phone 7
Microsoft touts speed, HTML 5 support in IE9
It's Official: Facebook Rules the Web
It does not take a village -- or a country
New Internet browser threat sneaks by traditional defenses
Cowboys Stadium: Big is better in football and technology
Novell's Mono project bringing .Net development to Android
Applications /

The Multimedia Exchange /

Scripting headaches

Related linksToday's breaking news
Send to a friendFeedback


Network World Fusion 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.

Back to The Multimedia Exchange

Comments

Post a comment

Name:


E-mail address:


URL:


Comments:


Remember info?




NWFusion offers more than 40 FREE technology-specific email newsletters in key network technology areas such as NSM, VPNs, Convergence, Security and more.
Click here to sign up!
New Event - WANs: Optimizing Your Network Now.
Hear from the experts about the innovations that are already starting to shake up the WAN world. Free Network World Technology Tour and Expo in Dallas, San Francisco, Washington DC, and New York.
Attend FREE
Your FREE Network World subscription will also include breaking news and information on wireless, storage, infrastructure, carriers and SPs, enterprise applications, videoconferencing, plus product reviews, technology insiders, management surveys and technology updates - GET IT NOW.
* HOME    * RESEARCH CENTERS     * NEWS     * EVENTS

Contact us | Terms of Service/Privacy | How to Advertise
Reprints and links | Partnerships | Subscribe to NW
About Network World, Inc.

Copyright, 1994-2006 Network World, Inc. All rights reserved.