Txhim kho Caching Cov Teeb Meem nrog Flash, JavaScript, XML, KML lossis Google Maps

Depositphotos 27736851 s

Nov yog ntawv luv thiab qab zib nyob ntawm caching tej teeb meem. Cov Vev Xaib thiab browsers raug tsim los txhim kho cov peev txheej tiag. Lawv ua nws zoo heev qee zaum thaum kawg qhov kawg ua rau koj lub vev xaib dynamic hloov dua tshiab nws ntau npaum li koj xav tau. Hnub no kuv tau ua haujlwm nrog JW Player, a Flash Movie player uas rub tawm hauv cov npe ntawm cov yeeb yaj kiab los ntawm cov ntawv XML.

Qhov teeb meem yog tias peb ib txwm hloov kho cov ntaub ntawv nrog webinars tshiab thiab cov chav qhia ua haujlwm. Yog tias peb cov neeg siv txuas ntxiv tuaj rau nplooj ntawv txhua hnub, nws yuav thauj khoom daim ntawv qhib tso tawm ntawm cov playlist thiab yeej tsis qhia lawv qhov tseeb thiab loj tshaj.

Yog li ntawd, Kuv yuav tsum tau hack lub SWF Tus lej code yog li nws xav tias nws tab tom thauj khoom tshiab ib zaug ntxiv txhua zaus.

var video = new SWFObject('player.swf','mpl','670','280','9');
var playlist = 'playlist.xml't='+Math.round(1000 * Math.random());
video.addParam('allowscriptaccess','always');
video.addParam('allowfullscreen','true');
video.addParam('flashvars','&file='+playlist+'&playlistsize=350&controlbar=over&playlist=right');
video.write('video');

Txoj kev uas kuv dag tus neeg uas ua ntawv yog los ntawm kev muab cov lus nug ntawm lub npe sau uas tau tsim ntau tus lej siv JavaScript. Tsis hais leej twg ntaus lub nplooj ntawv, nws yuav mus nrhiav kom tau lub npe txawv lub npe, yog li tus neeg uas ua ntawv yuav rub hauv cov npe tawm tshiab txhua zaus.

Qhov no tsis yog ib qho yooj yim rau JW Player, Kuv kuj tseem siv cov txheej txheem no rau Google Maps thaum cuam tshuam nrog KML cov ntaub ntawv uas hloov pauv hloov zoo. Tsuas yog tsim cov lus nug sau cia thiab lub kaw lus yuav rov thau cov ntaub ntawv (zoo li qub) KML txhua zaus cov neeg siv mus ntsib. Nws yog hack, tab sis nws yog ib txoj kev yooj yim rau qhov tseem ceeb tig lub laim tawm hauv cov ntawv thov uas tsis muaj kev xaiv.

ib saib

  1. 1

Yuav ua li cas koj xav hais tias?

Qhov Web site no siv Akismet los txo cov kev pabcuam. Kawm li cas koj cov ntaub ntawv tawm tswv yim tiav.