Protect File Locations

Pickle provides the ability to "hide" file URLs from the casual viewer by replacing the standard URL with an "encrypted" URL. The encryption technique used by Pickle Player is not 100% fool-proof, but does offer a certain level of protection.

The Gorey Details
The "encryption" is standard base64 encoding, with the exception that the base64 encoded string also has "__1" appended to the beginning of the string. The "__1" acts as a flag for Pickle Player to decrypt the string.

Click here to use our online URL encrypter tool to create encrypted URLs.

Encrypted URLs can be used for any reference to files that are loaded into the player, including:

- Media Files / Playlists
- Images

Example:

<div
data-media="__1SDFidsnsdfoDFiDiDFDSfinDFSDpkmsflsak">
</div>

<div data-media="/path/to/file.mp3"
data-image="__1SDFidsnsdfoDFiDiDFDSfinDFSDpkmsflsak">
</div>

Encrypted URLs can also be used within Javascript calls.

Example:

<a href="javascript"
onclick="PKL_LoadAndPlay('__1SDFidsnsdfoDFiDiDFDSfinDFSDpkmsflsak');">
Load Track
</a>

<a href="javascript"
onclick="PKL_SetPoster('__1SDFidsnsdfoDFiDiDFDSfinDFSDpkmsflsak');">
Change Image
</a>

<a href="javascript"
onclick="PKL_LoadPlaylist('__1SDFidsnsdfoDFiDiDFDSfinDFSDpkmsflsak');">
Load Playlist
</a>