- Posts: 21
COMMUNITY FORUM
mp3 remote with protected link
- NIccolò Angeli
-
Topic Author
- Offline
- Junior Member
Less
More
9 years 5 months ago - 9 years 5 months ago #148836
by NIccolò Angeli
mp3 remote with protected link was created by NIccolò Angeli
Hello,
I'd like to use Allvideos to embed mp3 files stored remotely on Amazon S3,
but also using the linklok url software (www.vibralogix.com/linklokurl/)
to dinamically create those file urls and protect the original Amazon S3 urls from viewing and hotlinking,
sintax should be something like
{mp3remote}<?php linklokurl('audio.mp3',10,1,3); ?>{/mp3remote}
output of the link something like
www.mysite.com/linklokurl.php?linklokauth=dGVzdC56aXAsMCw5NC4zOC4yMDIuMTc2LDAsMSxMTF8wLCwxMjcyMTlmMTU1MWYyZDFiNTkwMDYzYmY1ODUxMGRiNg%3D%3D/audio.mp3
the link will change everytime the page is refreshed
I haven't bought linklok url yet so I can't test
someone knows if a method like this will work with Allvideos?
Thank you!
I'd like to use Allvideos to embed mp3 files stored remotely on Amazon S3,
but also using the linklok url software (www.vibralogix.com/linklokurl/)
to dinamically create those file urls and protect the original Amazon S3 urls from viewing and hotlinking,
sintax should be something like
{mp3remote}<?php linklokurl('audio.mp3',10,1,3); ?>{/mp3remote}
output of the link something like
www.mysite.com/linklokurl.php?linklokauth=dGVzdC56aXAsMCw5NC4zOC4yMDIuMTc2LDAsMSxMTF8wLCwxMjcyMTlmMTU1MWYyZDFiNTkwMDYzYmY1ODUxMGRiNg%3D%3D/audio.mp3
the link will change everytime the page is refreshed
I haven't bought linklok url yet so I can't test
someone knows if a method like this will work with Allvideos?
Thank you!
Last edit: 9 years 5 months ago by NIccolò Angeli.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 5 months ago #148846
by Krikor Boghossian
Replied by Krikor Boghossian on topic mp3 remote with protected link
Since there is no definite URL to point to the mp3 file, then AllVideos has no way of determining what the URL is. This will always result in a 404 error.
Please Log in or Create an account to join the conversation.
- NIccolò Angeli
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
9 years 5 months ago #148885
by NIccolò Angeli
Replied by NIccolò Angeli on topic mp3 remote with protected link
I have tested this and it works, actually :-)
This script (linklok url) create the link dinamycally inside Allvideos tags, and the player is reproducing the file correctly
For all those who are using this script, I've got some amazing support
from the developer, best if you use Sourcerer plugin (Nonumber.nl) to get the php code working,
this is the code I am using
This script (linklok url) create the link dinamycally inside Allvideos tags, and the player is reproducing the file correctly
For all those who are using this script, I've got some amazing support
from the developer, best if you use Sourcerer plugin (Nonumber.nl) to get the php code working,
this is the code I am using
{source}<p><?php require_once("linklokurl.php"); ?></p>
<p>{mp3remote}<?php linklokurl('transition_heavenly.mp3',0,1,3); ?>{/mp3remote}</p>
<small><a href="<?php linklokurl('transition_heavenly.mp3',0,1,3); ?>">Download this mp3</a></small>
{/source}
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 5 months ago #148905
by Krikor Boghossian
Replied by Krikor Boghossian on topic mp3 remote with protected link
Yes without a plugin it will not work inside an item/ article.
You can use it in a K2 Tools modules though without the {source} tags.
You can use it in a K2 Tools modules though without the {source} tags.
Please Log in or Create an account to join the conversation.