I do have an internal website, which has the function of an video & audio library. My visitors are able to download 2 kind of files from this website.
- Video
- Audio Only.
The source of these videos are coming from different external locations. The file extensions are different, like .webm, .M4A, .tgpp etc.
I know that most of them are still working, if I change the extension of the files to .MP4. So to make this website more easier for my visitors, regarding the different formats, I decided to offer only .MP4 format.
Means, the client downloads a .MP4 file, even the orginal files has the exstensions of .WEBM or .M4A.
It is not an issue to do that. But what I want to do is, to still keep these informations for troubleshootings in the future, I would like to store the real / orginal filetype in the HTML element.
Question:
Which attribute name can I use for my purpose? Is there anything existing for doing this?
For better understanding, I show it with the an attribute name StoreInformation:
<table id="id_TopTable">
<tr>
<td>
<a href="get-download.php?Source=Example.MP4" StoreInformation='Source_West, M4A, AudioEncoding Aac'><B>Click this</B></a>
</td>
</tr>
Short explanation:
- User downloads an example.mp4 file.
- The attribute
StoreInformationstores these informations, which has meaning of: The file comes orginally form the Source in West, its a M4A with Audio AAc encoding.
<a href="get-download.php?Source=Example.MP4&StoreInformation=Source_West,...