Per utilizzare il Flash Player, assicurati che l’ambiente soddisfi i requisiti necessari.
Di seguito sono riportati i requisiti del Flash Player:
Primetime.js
, installare almeno la versione di Flash Player 23.La riproduzione con il Flash Player richiede i seguenti file SWF:
playerProductInstall.swf
File SWF che gestisce l'installazione e gli aggiornamenti del Flash Player.Inoltre, la riproduzione video nel Flash richiede un file token di autorizzazione che potrebbe essere un SWF o un .DAT
file. È possibile specificare il percorso dei file SWF, il file del token di autorizzazione, il nome e il tipo del file token utilizzando le API AdobePSDK.
Ad esempio:
// Set relative or http path to directory containing SWF.
// Defaults to current directory for the html page.
AdobePSDK.setSWFPath(<swfPath>);
// Set the relative or http path to directory containing token file(s).
// Defaults to SWFPath + "token/".
AdobePSDK.setAuthorizationTokenPath(<authorizationTokenPath>);
// Set the name of the token file, do not include any path in this string.
AdobePSDK.setAuthorizationTokenFilename("hlsaf_localhost.swf");
//Set the token type, "DAT" or "SWF". Defaults to "DAT"
AdobePSDK.setAuthorizationTokenType("SWF");