// load player data after programm data // player data need programm data // +++++ vars declared in qtdemoprg.js +++++++++++++++++++++++++++++++++++++++++++ // do not var-declare this vars again here // arstTextOfPullDownEntry // intDataCollectionIndex // +++++ standard data for all players +++++++++++++++++++++++++++++++++++++++++++ var intVideoWidthMaxStandard=177; // pixel, >=2, for audio too var intVideoHeightMaxStandard=100; // pixel, >=16, for audio too // +++++ data of player 1 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ // ----- setable vars ------------------------------------------------------------ var stParentID='QTplayer1'; // ID of parent container in html document // parent MUST have .innerHTML (f.e. DIV) // innerHTML of parent will be complete replaced by html code of Quicktime var intVideoWidthMax=177; // pixel, >=2, for audio too var intVideoHeightMax=100; // pixel, >=16, for audio too var intNumberOfMediaFiles=2; // length of arrays var arstFileNamePraefix=new Array // length == intNumberOfMediaFiles ( // chars inside of string not allowed , ' " // f.e. 'test.text "test" or 'test'' are not allowed in string // 'test-text_test' is allowed '1', '2' ); var arstFileNameSuffix=new Array // length == intNumberOfMediaFiles ( '.mp3', '.mp4' ); var arstFileNamePath=new Array // length == intNumberOfMediaFiles // path only relative to html-dokument with Quicktime-player ( 'media/', 'media/' ); var arstTextOfPullDownEntry=new Array // length == intNumberOfMediaFiles ( // chars inside of string not allowed , ' " // f.e. 'test.text "test" or 'test'' are not allowed in string // 'test-text_test' is allowed 'mp3-audio', 'mp4-video' ); var arintDurationOfMedia=new Array // length == intNumberOfMediaFiles ( // milliseconds > 0 29000, 40000 ); // ----- don't change this code -------------------------------------------------- arstTextOfPullDownEntry=fuAppendDuration(arstTextOfPullDownEntry,arintDurationOfMedia,intNumberOfMediaFiles); intDataCollectionIndex++;arDataCollection[intDataCollectionIndex]=new Array (arstFileNamePraefix,arstFileNameSuffix,arstTextOfPullDownEntry,arstFileNamePath,stParentID,intVideoWidthMax,intVideoHeightMax); // +++++ data of player 2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ // use vars of player 1 // copy data code to here and change here // don't forget to copy code of "don't change this code" // +++++ data of player 3 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ // see player 2 // ..... // +++++ number of player is not limited +++++++++++++++++++++++++++++++++++++++++ // +++++ that's all ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++