1
0
Fork 0
mirror of https://github.com/Luzifer/share.git synced 2024-12-20 18:41:17 +00:00

Add support for audio embedding

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-04-22 21:18:56 +02:00
parent 8751b0e67d
commit 4283a99dee
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E
3 changed files with 99 additions and 84 deletions

View file

@ -80,39 +80,40 @@ func (fi bindataFileInfo) Sys() interface{} {
}
var _bindataFrontendAppjs = []byte(
"\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x56\x4b\x6f\x1b\x37\x10\xbe\xef\xaf\x98\x83\x00\x72\x53\x79\xd5\xa0" +
"\x39\x49\x55\xd0\x22\x51\x6c\x03\x7e\x14\xb2\x7c\x33\xea\x50\xdc\xd1\x92\x0e\x45\x2e\x48\x2a\x52\x90\xea\xbf\x17" +
"\xe4\x3e\xb4\x2b\x39\x4a\x51\x9d\x28\x72\xe6\x9b\xd7\x37\x33\xab\xd0\xc3\x4a\x2a\x7c\x9c\xdf\xc0\x14\xf4\x46\xa9" +
"\x49\xc2\x8d\x76\x1e\x6e\x1f\x2e\x9f\xef\xee\x17\xcf\x9f\xee\x1f\xef\x3e\xc2\x14\xc8\x27\xa9\x10\xb4\xf1\xb0\x32" +
"\x1b\x9d\x93\x63\xb9\xbf\x66\xf3\xdb\xeb\xc5\x62\x16\x65\xef\x8c\x07\xa6\x94\xd9\x62\x0e\xde\x00\xe3\x1c\x9d\x8b" +
"\x86\x7a\x7a\x97\xb3\xbb\xd9\xfc\xfa\xc3\xf3\x6c\x3e\x0f\x5a\x0f\x66\x8d\x5e\x48\x5d\xc0\x16\xb5\x87\xad\x35\xba" +
"\x20\x93\x24\x19\xbd\x81\x42\x99\x25\x53\x30\x18\xaf\x98\x72\x08\x6f\x46\x49\xc2\x15\x73\x0e\x1e\x04\xb3\x08\xdf" +
"\x13\x00\xa9\xa5\xa7\x69\x3c\x02\x0c\xe8\x56\xea\xdc\x6c\xd3\x6c\x29\x75\x4e\x89\x60\x4e\x70\xc1\x74\x81\x64\x08" +
"\x14\x53\x98\xbe\xaf\x25\x01\xbc\x90\x2e\x0b\x02\x37\x86\xe5\x34\x9d\xc4\xeb\x7d\x3a\x49\xe2\x21\x64\x88\x95\xe5" +
"\x42\x7a\x85\x30\x85\xcf\x95\xc1\x3f\x60\xf0\xbd\xb2\x90\x29\xc3\x99\x97\x46\x67\xc2\x38\xbf\xff\x3c\xa9\xed\x13" +
"\x1f\x34\x86\x19\x2b\xcb\x78\x22\x69\xe6\x71\xe7\x69\x83\xd5\xe0\xbf\x62\x7d\x1f\x5e\x70\xbd\xc4\x3c\xe4\xfc\x5a" +
"\xaf\x0c\x0d\xa9\x0b\x29\x22\x4d\x80\x72\x05\xf5\xe5\xb4\x7b\xdd\xe2\xe9\x5c\xe1\xcc\x5a\x63\x6f\xd1\x39\x56\x20" +
"\xed\xd5\xb3\x09\xb2\x72\xe1\x40\x80\x70\xaa\x03\xc8\xd8\x0b\xdb\x45\x13\xc3\x16\x3b\x94\xc7\xe4\x63\x20\x57\xb3" +
"\x3f\x3f\x92\x61\x7d\xeb\x36\xb1\xbc\x63\xa0\x39\xf3\x6c\x08\xce\x33\xbf\x71\x43\xd8\x09\xdb\xcb\x73\xdf\xb7\x10" +
"\xde\x2b\x0a\x93\x5a\x78\xdf\xa0\x63\x08\x62\x0c\x74\x27\x6c\x23\x79\x06\x35\x08\xf7\x44\x8f\xf0\xf6\x87\x04\x9f" +
"\xf7\xa3\xc6\x0f\xd5\xf7\xdf\xca\x90\xfb\x9d\xb0\x59\x81\x7e\x8e\xae\x34\xda\xe1\x15\xb2\x1c\x2d\x25\x1f\x8c\xf6" +
"\xa8\xfd\xc5\xe2\x5b\x89\xa4\x29\xea\x80\x92\x8c\x1b\xed\x99\xd4\x68\x49\x9a\x09\x99\x63\xc3\xac\xf0\x16\xd2\xaa" +
"\xd9\xba\x25\x45\x5d\x81\xcc\x6d\x96\xce\x5b\xa9\x8b\xf6\x46\x31\xe7\xaf\x75\x8e\xbb\xfb\x15\x25\x23\x92\xc2\x2f" +
"\xf0\x36\x6d\xcc\x04\x12\x04\xef\xb2\x35\xf3\x5c\xd0\xd1\xdf\x72\xcd\x0a\x7c\x1a\x8d\xd2\x03\x1f\x1a\x73\x4a\xea" +
"\x2f\x17\xce\x72\x92\x66\xcc\x7b\x4b\x49\x38\x0f\x9b\xda\xb7\x79\x0a\xe2\x4e\x98\xed\x45\x84\x22\x69\xfc\x43\xdb" +
"\x67\x8b\x7e\x63\x75\x8f\x3d\x27\x4e\x7c\x95\x39\x9a\xbe\x13\x21\x8d\xce\x72\x98\x06\xfc\xdf\x9d\xd9\x58\x8e\xef" +
"\x49\x8b\xea\x2c\x3f\xeb\x54\x7c\x2f\x4b\xd4\xf9\xc2\xd0\x01\x25\xd1\x02\x49\x4f\x9d\xae\x1f\xfe\x87\xd3\x34\xd4" +
"\xe1\x69\xf4\x0f\x2b\x4b\x25\xab\x86\x7e\x1a\xbd\xb0\xaf\xcc\x71\x2b\x4b\x9f\xf6\x52\x7a\xe8\x8d\xc7\xf9\xcd\xb0" +
"\x43\xc5\xc0\xa3\x40\x84\x31\x90\x80\xd7\xb6\x48\xa7\x75\x2e\x67\x8b\xce\x75\xbf\x77\x8e\x88\x1d\x03\xe3\x26\x6f" +
"\x69\x12\x65\x26\xfd\xf7\x2a\xf0\x68\xed\x38\xee\xf0\x13\xea\xc5\x65\x61\x34\x5e\xc9\x42\x28\x59\x08\x1f\xd8\xd5" +
"\x11\xd9\x1f\x9c\xf9\x79\xab\xfd\xc7\x66\xeb\xa0\xee\xcf\x55\xa1\xc7\x4d\x61\x71\xd5\x92\x33\xfe\x39\x26\x42\x1b" +
"\x6d\x81\x1a\xad\xe4\xbd\x80\xbb\x3d\x7d\xe2\x58\xa7\x9b\xd7\xd5\x3c\x8c\xc3\xb4\x82\x75\x5b\xe9\xb9\x88\x61\x67" +
"\x7d\x79\x00\xce\x1c\xc2\xbb\x5f\xdf\x8d\x3b\x85\x6c\xf4\x7b\x13\xf5\x10\xfa\xd2\x22\xfb\x32\xe9\xeb\xff\x76\x4e" +
"\xbf\xdd\x9c\x3f\xc0\xc8\x71\xc5\x36\xca\xff\x08\xa2\xb3\x44\x5f\x05\xd8\xf7\xf6\xcc\xc9\x5e\xa8\xc1\x5e\xcd\xe1" +
"\xb1\x4c\xbb\x5c\x49\x16\xb9\xd2\xf0\xb2\x8b\xf1\xf3\xe1\x17\x4b\xd8\xe8\x9f\x14\xb0\x59\x84\x9d\x92\xd5\xcb\xef" +
"\x64\xdf\x32\x27\x3a\x13\xf3\x6d\x6d\x22\x06\x7a\xba\x3d\x6b\x1b\xfb\x24\x19\xd0\xd5\x46\xf3\x00\x51\x5b\x89\xd3" +
"\x29\xae\xf5\x29\x68\xdc\x56\xdf\x14\x95\x53\xf1\x3a\xab\x3e\x2d\x26\x49\x20\xf3\xbf\x01\x00\x00\xff\xff\xf5\xea" +
"\xef\x38\x32\x09\x00\x00")
"\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x56\x4b\x8f\xdb\x36\x10\xbe\xeb\x57\xcc\xc1\x00\xa9\xd4\x91\x1b\x24" +
"\x27\xbb\x0e\x5a\x24\xce\xee\x02\xfb\x28\xbc\xde\xdb\xa2\x1b\x5a\x1a\x8b\xdc\xd0\xa4\x40\x52\xb1\x83\xac\xff\x7b" +
"\x41\xea\x61\xc9\x76\x9c\x22\x40\x75\xa2\xc8\x99\x6f\xe6\x9b\x17\x29\xd1\xc1\x4a\x48\x7c\x98\x5f\xc3\x14\x54\x29" +
"\xe5\x24\x4a\xb5\xb2\x0e\x6e\xee\x2f\x9e\x6e\xef\x16\x4f\x9f\xee\x1e\x6e\x3f\xc2\x14\xc8\x27\x21\x11\x94\x76\xb0" +
"\xd2\xa5\xca\xc8\xa1\xdc\xdf\xb3\xf9\xcd\xd5\x62\x31\x0b\xb2\xb7\xda\x01\x93\x52\x6f\x30\x03\xa7\x81\xa5\x29\x5a" +
"\x1b\x0c\xf5\xf4\x2e\x66\xb7\xb3\xf9\xd5\x87\xa7\xd9\x7c\xee\xb5\xee\xf5\x1a\x1d\x17\x2a\x87\x0d\x2a\x07\x1b\xa3" +
"\x55\x4e\x26\x51\x34\x7a\x05\xb9\xd4\x4b\x26\x61\x30\x5e\x31\x69\x11\x5e\x8d\xa2\x28\x95\xcc\x5a\xb8\xe7\xcc\x20" +
"\x7c\x8f\x00\x84\x12\x8e\xc6\x61\x09\x30\xa0\x1b\xa1\x32\xbd\x89\x93\xa5\x50\x19\x25\x9c\x59\x9e\x72\xa6\x72\x24" +
"\x43\xa0\x18\xc3\xf4\x7d\x2d\x09\xe0\xb8\xb0\x89\x17\xb8\xd6\x2c\xa3\xf1\x24\x6c\xef\xe2\x49\x14\x16\x3e\x42\xac" +
"\x28\x16\xc2\x49\x84\x29\x7c\xae\x0c\xfe\x09\x83\xef\x95\x85\x44\xea\x94\x39\xa1\x55\xc2\xb5\x75\xbb\xcf\x93\xda" +
"\x3e\x71\x5e\x63\x98\xb0\xa2\x08\x2b\x12\x27\x0e\xb7\x8e\x36\x58\x0d\xfe\x09\xeb\x3b\x7f\x82\xeb\x25\x66\x3e\xe6" +
"\x57\x6a\xa5\xa9\x0f\x9d\x0f\x11\x69\x08\x8a\x15\xd4\x9b\xd3\xee\x76\x8b\xa7\x32\x89\x33\x63\xb4\xb9\x41\x6b\x59" +
"\x8e\xb4\x97\xcf\x86\x64\xe5\xc2\xbe\x00\xfc\xaa\x26\x90\xb0\x67\xb6\x0d\x26\x86\x2d\xb6\x4f\x8f\xce\xc6\x40\x2e" +
"\x67\x7f\x7d\x24\xc3\x7a\xd7\x96\x21\xbd\x63\xa0\x19\x73\x6c\x08\xd6\x31\x57\xda\x21\x6c\xb9\xe9\xc5\xb9\xef\x9b" +
"\xa7\x77\x42\x61\x52\x0b\xef\x1a\x74\xf4\x24\xc6\x40\xb7\xdc\x34\x92\x67\x50\xbd\x70\x4f\xf4\x00\x6f\xb7\x0f\xf0" +
"\x79\x3f\x6a\x7c\x9f\x7d\xf7\xad\xf0\xb1\xdf\x72\x93\xe4\xe8\xe6\x68\x0b\xad\x2c\x5e\x22\xcb\xd0\x50\xf2\x41\x2b" +
"\x87\xca\xbd\x5e\x7c\x2b\x90\x34\x49\x1d\x50\x92\xa4\x5a\x39\x26\x14\x1a\x12\x27\x5c\x64\xd8\x54\x96\x3f\xf3\x61" +
"\x55\x6c\xdd\x16\x45\x9d\x81\xc4\x96\x4b\xeb\x8c\x50\x79\xbb\x23\x99\x75\x57\x2a\xc3\xed\xdd\x8a\x92\x11\x89\xe1" +
"\x37\x78\x13\x37\x66\x7c\x11\x78\xef\x92\x35\x73\x29\xa7\xa3\x7f\xc4\x9a\xe5\xf8\x38\x1a\xc5\xfb\x7a\x68\xcc\x49" +
"\xa1\xbe\xbc\xb6\x26\x25\x71\xc2\x9c\x33\x94\xf8\xf5\xb0\xc9\x7d\x1b\x27\x2f\x6e\xb9\xde\xbc\x0e\x50\x24\x0e\x3f" +
"\xb4\x3d\x36\xe8\x4a\xa3\x7a\xd5\x73\xe4\xc4\x57\x91\xa1\xee\x3b\xe1\xc3\x68\x4d\x0a\x53\x8f\xff\x87\xd5\xa5\x49" +
"\xf1\x3d\x69\x51\xad\x49\xcf\x3a\x15\xce\x8b\x02\x55\xb6\xd0\x74\x40\x49\xb0\x40\xe2\x63\xa7\xeb\x83\x5f\x70\x9a" +
"\x95\x99\xd0\x8f\x23\xca\x58\xfa\xb2\x2e\xde\xbe\xac\x0b\xcc\xe3\xc1\xff\xc8\x21\x18\x3c\xc5\xa1\x3e\xf8\x05\x0e" +
"\xd4\xd7\xd2\xe3\xe8\x85\x15\x85\x14\xd5\x50\x7a\x1c\x3d\xb3\xaf\xcc\xa6\x46\x14\x2e\xee\x95\xc5\xbe\xbf\x1f\xe6" +
"\xd7\xc3\x4e\x3b\xf9\x5e\xf0\xc5\x3c\x06\xe2\xf1\xda\x36\xef\xb4\xff\xc5\x6c\xd1\xd9\xee\xf7\xff\x41\x73\x06\x62" +
"\xa9\xce\xda\x52\x0f\x32\x93\xfe\x79\x45\x3c\x58\x3b\xe4\xed\x3f\x2e\x9f\x6d\xe2\xc7\xfb\xa5\xc8\xb9\x14\x39\x77" +
"\xbe\x43\x3a\x22\xbb\xbd\x33\x3f\x1f\x17\xff\x71\x60\x74\x50\x77\xe7\xb2\xd0\xeb\x2f\x6e\x70\xd5\x36\x58\xf8\x39" +
"\x2c\x84\x96\x6d\x8e\x0a\x8d\x48\x7b\x84\xbb\x73\xe9\xc8\xb1\xce\x44\x5a\x57\x33\x3d\x5c\x08\x15\xac\xdd\x08\x97" +
"\xf2\x40\x3b\xe9\xcb\x03\xa4\xcc\x22\xbc\xfb\xfd\xdd\xb8\x93\xc8\x46\xbf\x77\x2b\xec\xa9\x2f\x0d\xb2\x2f\x93\xbe" +
"\xfe\xdb\x73\xfa\xed\xed\xff\x03\x8c\x0c\x57\xac\x94\xee\x47\x10\x9d\x87\xc0\x49\x80\x5d\xef\xae\x3c\xba\xdb\x6a" +
"\xb0\x93\x31\x3c\x94\x69\x1f\x08\x24\x09\xb5\xd2\xd4\x65\x17\xe3\xe7\x03\x3c\xa4\xb0\xd1\x3f\x4a\x60\x73\x99\x77" +
"\x52\x56\x5f\xe0\x47\x6f\x06\x66\x79\x67\xea\xbf\xa9\x4d\x04\xa2\xc7\x2f\x80\xda\xc6\x2e\x8a\x06\x74\x55\xaa\xd4" +
"\x43\xd4\x56\xc2\x74\x0a\x4f\x93\x29\x28\xdc\x54\xef\xa2\xca\xa9\xb0\x9d\x54\xcf\xa3\x49\xe4\x8b\xf9\xdf\x00\x00" +
"\x00\xff\xff\xcc\xb0\x6a\xfb\xf6\x09\x00\x00")
func bindataFrontendAppjsBytes() ([]byte, error) {
return bindataRead(
@ -131,7 +132,7 @@ func bindataFrontendAppjs() (*asset, error) {
info := bindataFileInfo{
name: "frontend/app.js",
size: 2354,
size: 2550,
md5checksum: "",
mode: os.FileMode(436),
modTime: time.Unix(1, 0),
@ -143,55 +144,56 @@ func bindataFrontendAppjs() (*asset, error) {
}
var _bindataFrontendIndexhtml = []byte(
"\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x57\xdd\x52\xe3\xb8\x12\xbe\x9f\xa7\xd0\x7a\x2f\x41\x56\xfe\x08\x81" +
"\xb5\x53\x45\x08\x2c\x90\x09\x59\x7e\x87\xe1\x4e\xb1\xda\xb6\x12\x59\x72\x24\x39\x26\x4c\x9d\x77\x3f\x65\x27\x4e" +
"\xc2\x9e\x85\x0d\x53\x73\xb8\x31\xad\x56\xb7\xbe\xaf\xbb\xa5\xee\x78\xbf\x31\x15\xd8\x45\x0a\x28\xb6\x89\xe8\x7e" +
"\xf1\x8a\x0f\x12\x54\x46\xbe\x03\xd2\xe9\x7e\x41\xc8\x8b\x81\xb2\xe2\x1f\x84\xbc\xdf\x30\x46\xb7\x30\xcb\xb8\x06" +
"\x86\x12\xb0\x14\x59\x1a\x19\x84\xf1\x4a\x5f\x2e\x05\x31\xd5\x06\xac\xef\x64\x36\xc4\x1d\x67\x5b\x15\x5b\x9b\xe2" +
"\xc2\x7e\xee\x3b\x4f\xf8\xe1\x04\x9f\xaa\x24\xa5\x96\x8f\x05\x38\x28\x50\xd2\x82\xb4\xbe\x73\x79\xe6\x03\x8b\xe0" +
"\x8d\xa5\xa4\x09\xf8\xce\x9c\x43\x9e\x2a\x6d\xb7\x36\xe7\x9c\xd9\xd8\x67\x30\xe7\x01\xe0\x52\xd8\x47\x5c\x72\xcb" +
"\xa9\xc0\x26\xa0\x02\xfc\xfa\x3e\x32\xb1\xe6\x72\x8a\xad\xc2\x21\xb7\xbe\x54\x4e\xf7\xcb\x86\x50\x4f\x29\x6b\xac" +
"\xa6\x29\x3a\xbd\xbb\xdb\x70\x11\x5c\x4e\x91\x06\xe1\x3b\xc6\x2e\x04\x98\x18\xc0\x3a\x28\xd6\x10\xfa\x4e\xc1\xc3" +
"\x1c\x13\x12\x30\x39\x31\x6e\x20\x54\xc6\x42\x41\x35\xb8\x81\x4a\x08\x9d\xd0\x17\x22\xf8\xd8\x10\x9b\x73\x6b\x41" +
"\xe3\x71\x75\x02\x69\xb9\x35\xb7\x46\x02\x63\xc8\x7a\xcd\x4d\xb8\x74\x03\x63\x9c\xf2\xd8\xe5\x1f\x97\x16\x22\xcd" +
"\xed\xc2\x77\x4c\x4c\x1b\x07\x6d\xfc\xf5\xa4\x73\xf4\xba\x37\x3d\x0a\x27\xd1\x70\x70\x43\xa6\xb3\xd6\x68\xd4\x18" +
"\xea\xb0\xf3\x28\xec\xf7\x44\x90\xc7\xb3\xbb\xbd\xdb\xa8\x16\xc6\x8d\x9a\xef\xa0\x40\x2b\x63\x94\xe6\x11\x97\xbe" +
"\x43\xa5\x92\x8b\x44\x65\xc6\x41\xe4\xd7\x71\x2b\xf1\xe7\xd4\x06\xf1\x8a\x14\xa3\x7a\x2a\x16\x9f\xe5\x35\x8e\xfb" +
"\x2d\xd2\x67\xa7\x27\xe9\xf5\xc9\x77\x31\x4a\xe7\x03\x63\x1e\x68\x23\xee\xd7\xfa\x59\xe7\x45\x47\xa3\xb9\xfd\xde" +
"\xca\x1b\x07\x26\x1e\x7e\xcc\x6b\x77\x62\x99\x01\x37\x54\xd2\xd2\x1c\x8c\x4a\x96\xbc\x34\x08\xa0\x06\x0c\x99\x1f" +
"\xb8\x35\xb7\xbe\x4c\x11\x15\xe2\x63\x02\xcd\x4e\x0b\xef\xb1\xda\x5f\x9d\xa6\x3c\x9a\xd2\x9b\xe1\x69\x3e\xe9\x9c" +
"\xb7\x6e\xaf\x7a\xed\xb6\x7d\xbd\xcc\x47\x83\x44\xb3\x71\xab\xbd\x97\x2a\xdd\x27\xa3\xb9\xbe\xda\x6b\x1e\x7e\x9b" +
"\x5d\x0e\x0f\x1f\x54\xcf\xe6\x17\xa3\xf6\xb5\x88\xde\x25\xf5\xeb\x52\x15\xf3\x28\x16\x3c\x8a\xad\x3b\x31\xe4\xc8" +
"\xad\x37\xdc\x1a\x59\x3a\x23\x54\x32\xad\x38\x33\x36\x63\x5c\xed\x96\x31\x7d\xf6\x28\x17\x30\x0c\xa7\x83\xd7\xa4" +
"\x97\xab\x80\x01\xf0\xd9\x9f\xa3\xac\x3e\x24\xd6\x3e\x5c\xf4\x0e\x07\xb5\x04\x06\x97\xf9\x6c\x9e\xef\x92\x31\xcb" +
"\xad\x80\xee\x5d\x4c\x35\x78\x64\x29\xac\x34\x25\xc4\xee\x0a\x4b\x5c\x47\x3f\x90\x85\x17\x8b\xa9\xe0\x91\x3c\x46" +
"\x01\x48\x0b\xfa\x0f\x54\x64\x12\x1b\xfe\x0a\xc7\xe8\xf0\x20\x7d\xf9\x03\xfd\xa7\xb2\x68\xfc\xbb\x45\xa3\xb5\x6d" +
"\x91\x6a\x40\x81\x62\x80\x7e\xa0\x40\x09\xa5\x8f\xd1\xef\xd0\x69\x42\x27\xd8\x6c\x71\x8b\x77\x87\x72\x09\x1a\xfd" +
"\x40\x09\xd5\x11\x97\xd8\xaa\xf4\x18\x35\x6b\xdb\x9e\x5c\x13\xab\x1c\x47\x20\x41\xf3\x60\x7f\x25\xf2\x84\x46\x50" +
"\x09\x73\xce\x40\x55\x02\x68\xad\x0a\x87\x8c\x9b\x54\xd0\xc5\x31\x92\x4a\x42\xe5\xcd\x23\xeb\x40\x78\xa4\x7a\x8b" +
"\xbd\xb1\x62\x8b\x55\x85\x48\x3a\x47\x81\xa0\xc6\xf8\x8e\xa4\xf3\x31\xd5\x68\xf9\xc1\xf0\x92\x52\xc9\xb0\x88\xaa" +
"\x85\xe2\x8a\xa2\x71\x84\x53\xcd\x13\xaa\x17\x4e\x15\x5c\x8f\xbe\x75\x80\xc7\x9a\x4a\x56\x55\xd9\xef\x4e\xd7\xe3" +
"\xd5\x86\x90\x1a\x14\x52\x6c\x8a\x7c\x61\x2a\x2c\x36\xb3\x8c\x6a\x70\xba\x1e\xe1\xdd\x75\xdd\x78\x26\xa5\xb2\x32" +
"\xa1\x69\x5a\xe6\xd5\xa9\xb2\x5c\x28\xbb\x1e\xa1\x2b\xfc\x44\xd2\x79\x95\x73\xc6\xd7\x5c\x36\x91\x2e\x63\x24\x14" +
"\x65\x5c\x46\x1b\xcc\x71\x7d\xeb\xbc\xff\xc1\x97\x72\x59\x98\x86\x14\xa7\x99\x30\xe0\x20\xaa\x39\xc5\x31\x67\x0c" +
"\xa4\xef\x58\x9d\xbd\x85\xec\x91\xca\x9d\x47\x18\xdf\x01\xce\x2a\xb7\x3b\xc2\x29\xaf\x26\x66\x2a\x97\x05\x8d\x22" +
"\x6e\xef\x9c\x5e\x38\x6a\x74\x3d\xba\x0e\xfd\xda\x11\x17\x50\x3c\x05\xb8\x50\xa0\x42\x2a\x3a\xa2\xd3\xcd\x64\x19" +
"\x5b\x56\x84\xd3\x23\x71\xe3\x53\x24\xca\x8a\x5c\xde\x91\xe5\xe5\xd8\xae\x88\x0f\x11\x38\xdb\x64\x93\x08\x19\x1d" +
"\xf8\xce\x7a\x2b\x4f\x22\x1c\x8a\x8c\x33\xb4\x36\x32\x7a\x2b\x56\x9b\xd4\xef\x04\xb3\xbc\x2b\x1b\xeb\xad\x8d\x90" +
"\x8c\x81\x61\x0d\x26\x55\xd2\xf0\x39\xa0\xbf\x2f\xe0\x7a\x7b\xbc\x38\xda\x46\x5b\x3a\x2b\xc7\x07\xad\x84\xd9\x52" +
"\x90\x52\xb3\xc1\x58\x42\xfb\x04\xca\x22\x8c\x1b\x90\xa9\x86\xae\x57\x3c\x26\x5d\x8f\xac\x3e\xc5\xd2\x67\x1c\x96" +
"\xaf\xc2\x8e\x05\x06\x2f\x81\xa0\x09\xb5\x5c\x49\x1c\x70\x1d\x88\xf7\xca\xbb\x2c\xb0\x75\xf8\x96\x27\xbc\x53\x37" +
"\xc5\x6c\x34\xb9\xc9\x40\x2f\x50\xc8\xb5\xb1\xfb\xc8\xc6\x20\xd1\x5f\x2a\x4d\x41\xbb\x13\xb3\x92\x37\xe3\xd3\xd5" +
"\xd6\xf4\x64\x02\xcd\x53\xbb\xac\x8b\x1d\xdb\xd4\x64\x56\x9c\x45\x9a\x6e\xd3\xad\xaf\x84\xb2\x23\x4d\xde\x34\xa4" +
"\x7f\x6a\x49\xe7\x51\x7a\x3a\x26\x83\xab\x1b\xf1\xf5\x3a\x1c\x65\x47\x75\x4b\x9b\x0d\x45\xae\x87\xcf\x2f\xc2\xe6" +
"\xb7\xaa\x73\x63\x93\xe9\xf0\x96\x9d\x64\x9d\xf7\x5b\x52\xd7\x23\x4b\xd0\x3f\xcf\x20\xad\x42\x43\xea\x6e\xbd\xe5" +
"\xd6\xab\x85\xdd\x58\xdc\xdd\x37\x86\x10\xe8\x27\x7d\x45\x4f\xcc\x2c\x09\xd3\xe9\xd1\xd3\xed\xcd\xe5\xbd\xe8\xab" +
"\xc5\x30\x79\xb0\xd1\xa0\x77\x26\x59\x9f\x9b\xbb\xe0\xff\xca\xe2\xbd\xa9\x75\xf2\xf7\xa1\xf5\xdf\x29\x1d\xec\xd5" +
"\x1a\xaf\xd9\xc1\xc3\xc3\xd7\x9b\xe9\xe8\x30\xaf\xff\x79\xa9\xdb\xf3\xd0\x9e\x46\xc3\xf0\x9c\x3d\x07\x27\x17\xd0" +
"\xb7\xe7\x72\xf0\x6c\x7a\x66\x27\x4a\x3f\xcd\xe9\x9f\x46\xa0\xcd\xda\x6e\x64\x48\x2f\xe4\x97\xd3\x0b\x71\xa1\x1e" +
"\x79\xfc\xcc\x82\xf6\xfd\x79\x36\x39\x1c\x26\x57\xb5\xfb\x6f\xc1\x37\x33\x7c\x9a\x42\xff\x3c\x8f\x79\xed\xf5\x83" +
"\xc1\xe7\x43\x32\x34\x4d\x0b\x1c\x6f\x72\xe8\x91\x65\xab\xf7\xc8\xf2\x17\xda\x7f\x03\x00\x00\xff\xff\x0e\x55\x82" +
"\x06\xb2\x0d\x00\x00")
"\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x57\x5b\x57\xdb\xba\x12\x7e\xef\xaf\xd0\xf6\x5e\xe7\x09\x64\xe5\x46" +
"\x08\x6c\x3b\x6b\x11\x02\x05\xd2\x90\x72\x2d\xe5\x4d\xb1\xc6\xb6\x12\x59\x72\x24\x39\x26\xb0\xce\x7f\x3f\xcb\xce" +
"\x95\x9e\x42\x43\x57\x37\x2f\x66\x66\x34\xa3\xef\x9b\x19\x49\x13\xef\x2f\xa6\x02\x3b\x4b\x01\xc5\x36\x11\xed\x4f" +
"\x5e\xf1\x41\x82\xca\xc8\x77\x40\x3a\xed\x4f\x08\x79\x31\x50\x56\xfc\x83\x90\xf7\x17\xc6\xe8\x1a\x26\x19\xd7\xc0" +
"\x50\x02\x96\x22\x4b\x23\x83\x30\x5e\xd8\x4b\x55\x10\x53\x6d\xc0\xfa\x4e\x66\x43\xdc\x72\x36\x4d\xb1\xb5\x29\x2e" +
"\xfc\xa7\xbe\xf3\x80\xef\x8e\xf0\xb1\x4a\x52\x6a\xf9\x50\x80\x83\x02\x25\x2d\x48\xeb\x3b\xe7\x27\x3e\xb0\x08\x5e" +
"\x79\x4a\x9a\x80\xef\x4c\x39\xe4\xa9\xd2\x76\x63\x71\xce\x99\x8d\x7d\x06\x53\x1e\x00\x2e\x85\x5d\xc4\x25\xb7\x9c" +
"\x0a\x6c\x02\x2a\xc0\xaf\xee\x22\x13\x6b\x2e\xc7\xd8\x2a\x1c\x72\xeb\x4b\xe5\xb4\x3f\xad\x09\x75\x94\xb2\xc6\x6a" +
"\x9a\xa2\xe3\x9b\x9b\x35\x17\xc1\xe5\x18\x69\x10\xbe\x63\xec\x4c\x80\x89\x01\xac\x83\x62\x0d\xa1\xef\x14\x3c\xcc" +
"\x21\x21\x01\x93\x23\xe3\x06\x42\x65\x2c\x14\x54\x83\x1b\xa8\x84\xd0\x11\x7d\x22\x82\x0f\x0d\xb1\x39\xb7\x16\x34" +
"\x1e\x2e\x77\x20\x0d\xb7\xe2\x56\x48\x60\x0c\x59\xe9\xdc\x84\x4b\x37\x30\xc6\x29\xb7\x9d\xff\x71\x69\x21\xd2\xdc" +
"\xce\x7c\xc7\xc4\xb4\xb6\xd7\xc4\x5f\x8e\x5a\x07\xcf\x3b\xe3\x83\x70\x14\xf5\x7b\x57\x64\x3c\x69\x0c\x06\xb5\xbe" +
"\x0e\x5b\xf7\xc2\x7e\x4f\x04\xb9\x3f\xb9\xd9\xb9\x8e\x2a\x61\x5c\xab\xf8\x0e\x0a\xb4\x32\x46\x69\x1e\x71\xe9\x3b" +
"\x54\x2a\x39\x4b\x54\x66\x1c\x44\xfe\x1c\xb7\x12\x7f\x4e\x6d\x10\x2f\x48\x31\xaa\xc7\x62\xf6\x51\x5e\xc3\xb8\xdb" +
"\x20\x5d\x76\x7c\x94\x5e\x1e\x7d\x17\x83\x74\xda\x33\xe6\x8e\xd6\xe2\x6e\xa5\x9b\xb5\x9e\x74\x34\x98\xda\xef\x8d" +
"\xbc\xb6\x67\xe2\xfe\xfb\xbc\xb6\x27\x96\x19\x70\x43\x25\x2d\xcd\xc1\xa8\x64\xce\x4b\x83\x00\x6a\xc0\x90\xe9\x9e" +
"\x5b\x71\xab\xf3\x12\x51\x21\xde\x27\x50\x6f\x35\xf0\x0e\xab\x7c\x6d\xd5\xe5\xc1\x98\x5e\xf5\x8f\xf3\x51\xeb\xb4" +
"\x71\x7d\xd1\x69\x36\xed\xf3\x79\x3e\xe8\x25\x9a\x0d\x1b\xcd\x9d\x54\xe9\x2e\x19\x4c\xf5\xc5\x4e\x7d\xff\xdb\xe4" +
"\xbc\xbf\x7f\xa7\x3a\x36\x3f\x1b\x34\x2f\x45\xf4\x26\xa9\x3f\x57\xaa\x98\x47\xb1\xe0\x51\x6c\xdd\x91\x21\x07\x6e" +
"\xb5\xe6\x56\xc8\x3c\x18\xa1\x92\x69\xc5\x99\xb1\x19\xe3\x6a\xbb\x8a\xe9\x93\x7b\x39\x83\x7e\x38\xee\x3d\x27\x9d" +
"\x5c\x05\x0c\x80\x4f\x3e\x0f\xb2\x6a\x9f\x58\x7b\x77\xd6\xd9\xef\x55\x12\xe8\x9d\xe7\x93\x69\xbe\x4d\xc5\x2c\xb7" +
"\x02\xda\x37\x31\xd5\xe0\x91\xb9\xb0\xb0\x94\x10\xdb\x0b\x2c\xb4\x00\x88\x5e\x50\x79\xc2\x0f\x51\xab\xf2\x9f\x7f" +
"\xd0\x7f\x17\xb6\xb8\x8a\x5e\x90\x85\x27\x8b\xa9\xe0\x91\x3c\x44\x01\x48\x0b\xfa\x1f\x54\x54\x19\x1b\xfe\x0c\x87" +
"\x68\x7f\x2f\x7d\xda\xf0\xa8\xfd\xda\xa3\xd6\xd8\xf4\x48\x35\xa0\x40\x31\x40\x2f\x28\x50\x42\xe9\x43\xf4\x37\xb4" +
"\xea\xd0\x0a\xd6\x4b\xdc\xe2\x4e\xa2\x5c\x82\x46\x2f\x28\xa1\x3a\xe2\x12\x5b\x95\x1e\xa2\x7a\x65\x33\x92\x6b\x62" +
"\x95\xe3\x08\x24\x68\x1e\xec\x2e\x44\x9e\xd0\x08\x96\xc2\x94\x33\x50\x4b\x01\xb4\x56\x45\x40\xc6\x4d\x2a\xe8\xec" +
"\x10\x49\x25\x61\x19\xcd\x23\xab\x24\x79\x64\x79\x4f\x7b\x43\xc5\x66\x8b\xee\x91\x74\x8a\x02\x41\x8d\xf1\x1d\x49" +
"\xa7\x43\xaa\xd1\xfc\x83\xe1\x29\xa5\x92\x61\x11\x2d\x15\xc5\xf1\x45\xc3\x08\xa7\x9a\x27\x54\xcf\x9c\x65\xe2\x3d" +
"\xfa\x3a\x00\x1e\x6a\x2a\xd9\xb2\x03\xff\x76\xda\x1e\x5f\x2e\x08\xa9\x41\x21\xc5\xa6\xa8\x25\xa6\xc2\x62\x33\xc9" +
"\xa8\x06\xa7\xed\x11\xde\x5e\xf5\x94\x67\x52\x2a\x97\x2e\x34\x4d\xcb\x9a\x3b\xcb\x0e\x28\x8c\x6d\x8f\xd0\x05\x7e" +
"\x22\xe9\x74\xd9\x0f\x8c\xaf\xb8\xac\x33\x5d\xe6\x48\x28\xca\xb8\x8c\xd6\x98\xe3\xea\xc6\x7e\xff\x87\x2f\xe5\xb2" +
"\x70\x0d\x29\x4e\x33\x61\xc0\x41\x54\x73\x8a\x63\xce\x18\x48\xdf\xb1\x3a\x7b\x0d\xd9\x23\xcb\x70\x1e\x61\x7c\x0b" +
"\x38\x8b\xda\x6e\x09\xa7\x3c\xb6\x98\xa9\x5c\x16\x34\x8a\xbc\xbd\xb1\x7b\x11\xa8\xd6\xf6\xe8\x2a\xf5\xab\x40\x5c" +
"\x40\x71\x4d\xe0\xc2\x80\x0a\xa9\x78\x2d\x9d\x76\x26\xcb\xdc\xb2\x22\x9d\x1e\x89\x6b\x1f\x22\x51\x76\xe4\xfc\x8c" +
"\xcc\x0f\xc7\x66\x47\xbc\x8b\xc0\xd9\x24\x9b\x44\xc8\xe8\xc0\x77\x56\x4b\x79\x12\xe1\x50\x64\x9c\xa1\x95\x93\xd1" +
"\x1b\xb9\x5a\x97\x7e\x2b\x98\xe5\x59\x59\x7b\x6f\x2c\x84\x64\x08\x0c\x6b\x30\xa9\x92\x86\x4f\x01\xfd\xa8\xc0\xd5" +
"\xe6\x70\x76\xb0\x89\xb6\x0c\x56\x8e\x16\x5a\x09\xb3\x61\x20\xa5\x65\x8d\xb1\x84\xf6\x01\x94\xf3\xdb\xeb\xe7\xc9" +
"\x2c\x4d\xab\x3d\x3d\x52\x2a\x3e\x14\xbd\x88\xbb\x0e\x98\x6a\x68\x7b\xc5\x55\xd5\xf6\xc8\xe2\x53\xa8\x3e\x12\xb0" +
"\xbc\x73\xb6\x6c\x5f\x78\x0a\x04\x4d\xa8\xe5\x4a\xe2\x80\xeb\x40\xbc\x75\x78\xca\xf6\x5d\x15\x67\xbe\xc3\x1b\x5d" +
"\x59\x4c\x65\xa3\xab\x0c\xf4\x0c\x85\x5c\x1b\xbb\x8b\x6c\x0c\x12\x7d\x55\x69\x0a\xda\x1d\x99\x85\xbc\x1e\xdc\x2e" +
"\x36\xe6\x36\x13\x68\x9e\xda\x79\xd7\x6d\xf9\x40\x8e\x26\xc5\x5e\xa4\xee\xd6\xdd\xea\x42\x28\xdf\xc2\xd1\xab\xa7" +
"\xf0\x67\x8f\xe1\x69\x94\x1e\x0f\x49\xef\xe2\x4a\x7c\xb9\x0c\x07\xd9\x41\xd5\xd2\x7a\x4d\x91\xcb\xfe\xe3\x93\xb0" +
"\xf9\xb5\x6a\x5d\xd9\x64\xdc\xbf\x66\x47\x59\xeb\xed\xc7\xb0\xed\x91\x39\xe8\xdf\x67\x90\x2e\x53\x43\xaa\x6e\xb5" +
"\xe1\x56\x97\x8a\xed\x58\xdc\xdc\xd6\xfa\x10\xe8\x07\x7d\x41\x8f\xcc\x24\x09\xd3\xf1\xc1\xc3\xf5\xd5\xf9\xad\xe8" +
"\xaa\x59\x3f\xb9\xb3\x51\xaf\x73\x22\x59\x97\x9b\x9b\xe0\x5f\x65\xf1\xd6\xbc\x3c\xfa\x71\x5c\xfe\x35\xa5\xbd\x9d" +
"\x4a\xed\x39\xdb\xbb\xbb\xfb\x72\x35\x1e\xec\xe7\xd5\xcf\xe7\xba\x39\x0d\xed\x71\xd4\x0f\x4f\xd9\x63\x70\x74\x06" +
"\x5d\x7b\x2a\x7b\x8f\xa6\x63\xb6\xa2\xf4\xdb\x9c\x7e\x36\x7c\xad\x75\xdb\x91\x21\x9d\x90\x9f\x8f\xcf\xc4\x99\xba" +
"\xe7\xf1\x23\x0b\x9a\xb7\xa7\xd9\x68\xbf\x9f\x5c\x54\x6e\xbf\x05\xdf\x4c\xff\x61\x0c\xdd\xd3\x3c\xe6\x95\xe7\x77" +
"\x46\xae\x77\xc9\xd0\x34\x2d\x70\xbc\xaa\xa1\x47\xe6\x83\x84\x47\xe6\xbf\x0d\xff\x17\x00\x00\xff\xff\x03\x43\x00" +
"\x2b\x2c\x0e\x00\x00")
func bindataFrontendIndexhtmlBytes() ([]byte, error) {
return bindataRead(
@ -210,7 +212,7 @@ func bindataFrontendIndexhtml() (*asset, error) {
info := bindataFileInfo{
name: "frontend/index.html",
size: 3506,
size: 3628,
md5checksum: "",
mode: os.FileMode(436),
modTime: time.Unix(1, 0),

View file

@ -54,6 +54,14 @@ class Share {
return;
}
if (type.match(/^audio\/(aac|mp3|mpeg)$/)) {
let src = $('<source>');
src.attr('src', fileURL);
src.appendTo($('audio'));
$('.show-audio').show();
return;
}
if (type.match(/^(text\/|application\/javascript)/)) {
$.ajax(fileURL, {
dataType: 'text',

View file

@ -20,6 +20,7 @@
<title>Share</title>
<style>
audio { width: 80%; }
h1 { text-align: center; font-size: 75px; }
h2 { text-align: center; font-size: 24px; }
pre code { color: #e83e8c; }
@ -59,6 +60,10 @@
</div>
</div>
<div class="container show-audio text-center">
<audio controls></audio>
</div>
<div class="container show-text">
<pre><code></code></pre>
</div>