PDA

View Full Version : Flash video in Tab Content Script



fisher999
04-08-2008, 10:23 AM
Hi,

Tab Content Script http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm
really a good script!!

But I found a problem when I insert the flash video in the 2 tab page. The flash video disappear! What is the problem of this? I have checked the path and all are correct. Anyones can give some hinst to me? Many Thanks! :confused:

Student

ddadmin
04-08-2008, 05:53 PM
With certain "complex" content like Flash or Java applets, you should be using Ajax Tabs Content (http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/index.htm) instead, and use the IFRAME option to fetch these contents as separate pages. For example, you'd create a blank page with the Flash video on it, and use the IFRAME option to fetch that page to be shown.

fisher999
04-09-2008, 06:43 AM
Thanks for your eamil. Is it possible
Tab Content Script http://www.dynamicdrive.com/dynamici...tabcontent.htm

Can use an IFRAME in it? Many thanks!

Student

ddadmin
04-09-2008, 08:36 PM
You can embed an IFRAME tag as the contents of each content DIV, yes, but since all Tab Content script does is toggle the display of these DIVs, you'll run into problems with one video still playing in the background when you switch to another tab. The Ajax Tabs content script doesn't have this issue, since the IFRAME is emptied out each time you switch tabs.