Recent questions from F.A.Q

This bug is not fixed... this error continue... please verify urgent. Thanks

"success":false,"code":400,"error":"message":"Please include file or file_url in your request"

let formData = new FormData();
formData.append("file", file);

if (file == undefined)
console.log("Choose file to upload first");
return;


const api_url = publitio.uploadUrlSigned();

this.axios
.post(api_url, formData,
headers:
Accept: "application/json",
"Content-Type": "multipart/form-data",
,
onUploadProgress: function (progressEvent)
const valeur = Math.round((progressEvent.loaded / progressEvent.total) * 100);
console.log(valeur + "%");
.bind(this),
)
.then(function (response)
console.log(response.data);
if (response.data.success == true)
console.log("upload ok");
else
console.log("upload failed");

);

Originally posted by @ednsinf in #17 (comment)

BY Timofey Pchelintsev 15 2
api upload error 400
Timofey Pchelintsev
Timofey Pchelintsev
Nov 08, 2021

It seems to work after removing "Content-Type": "multipart/form-data" header.

HEllo
Its possible to do that :
Take action when the video is 100% viewed

for example execute javacript on the page.
It is to make a button visible only when the viode is seen at 100%

BY NEMEO 175 1
Publitio
Publitio
Sep 22, 2021

Not yet, but we will see if possible to implement something like this in feature player updates

Hi there - The Americans with Disabilities Act (ADA) is a federal anti-discrimination statute designed to ensure equal access to opportunities and benefits for qualified individuals with disabilities. In many state, government, and education institutions, videos must include ADA-compliant captions.

I'm hoping to continue to use Publit.io as my CDN for all my files (video especially), but the lack of ability to upload caption files is making me use other video options (by law).

I know I could 'burn' the captions in, but because our videos need to be subtitled for multiple languages, that's not an efficient option.

Are there plans to incorporate a captioning file (SRT) option into the video feature? I don't need automatic captioning like Youtube or others, but I do need the ability to upload a previously created SRT and have it display in-video for my audiences. Hoping this is in the pipeline? Could you confirm? Thanks so much!

BY Lisa Ross 172 1
video accessibility captions SRT subtitles
Clarice Chan
Clarice Chan
Nov 29, 2021

When can we expect the next player update? Like Lisa, we will like to use Publitio but the lack of SRT ability has caused us to consider other companies.

When I upload files I get an error message. Please see this short video that shows the problem:

share.getcloudapp.com/L1urWPNK

I have tried on both Firefox and Chrome and still same problem.

BY René Andersen 209 6
upload
René Andersen
René Andersen
Sep 22, 2021

It looks like it is working now, and even better it updates the files without me pressing F5 to refresh the browser window.

Hi, I am developing a Flutter app and using Publit,io to host video files uploaded by users. I am currently following this post: <a href="https://itnext.io/serverless-video-upload-and-encoding-with-firebase-storage-cloud-functions-and-publitio-a4b2997b1508</br" rel="nofollow" >https://itnext.io/serverless-video-upload-and-encoding-with-firebase-storage-cloud-functions-and-publitio-a4b2997b1508</br</a>> Everything was working fine but now most videos are not accessible because the access token has been expired. I don't know how to generate a new Access Token for my Flutter App to access video contents. In the app, I simply use the download_url (provided after a successful upload) to get the video. Could you please provide the solution or some pointers for my use case? Thank You

BY Thinh Lu 200 1
access token Flutter Invalid
MajaKisic
MajaKisic
Aug 30, 2021

Hi,

if you set files to be private and use Iframe to copy-paste code, you will generate a token, and that token copied will expire in 24h.
I would suggest making the file Public and just enable domain-level protection, that way even if someone shares a link I can't open it as it's not coming from your website.
You can use plugin or sdk to retrieve fresh urls (with new access tokens) https://publit.io/docs/#download-sdks

Regards

Maja

3 months ago Porn and Adult

Hello, I want to upgrade my account. But I want to know, can I upload adult or porn video?
Is it allow?

BY Doe Doe 245 1
MajaKisic
MajaKisic
Aug 30, 2021

Hi,

Sorry but no. It is not allowed.

Regards

Maja

Publitio, can you please give some example or further explanation for upload progress report feature? I am testing paid subscription now, and your product looks very promising! But for use case, where end users will upload videos(potentially big) on custom website, upload progress report is a must. Embedded Upload Widget is an awesome solution too, can you please give this feature status as of August 2021?

Thanks for great service!

BY Timofey Pchelintsev 219 2
Publitio
Publitio
Sep 22, 2021

Take a look at https://publit.io/community/blog/upload-presets-unsigned-uploads
There is an js example with progress bar

4 months ago 1 TB of bandwidth

You used to offer a plan that included one terabyte a band with but all I see is the nine dollar monthly plan now. This is not enough band with for my business, are there any better plans?

BY Wolf Clan Media 322 2
Publitio
Publitio
Aug 10, 2021

New Premium plan is unlimited i.e it starts with $9/month and includes 50GB storage and 100GB bandwidth, and if you go over that limit you pay-as-you-go for extra storage and/or bandwidth used.


This is extra monthly price per gigabyte (above included bandwidth) of additional bandwidth used :
Next 0-1 TB: $0.075 per GB
Next 1-10 TB: $0.065 per GB
Next 10-50 TB: $0.055 per GB
Next 50-100 TB: $0.045 per GB
Next 100+ TB: $0.035 per GB

This is extra monthly price per gigabyte (above included storage space) of additional storage used:
Next 0-10 TB: $0.035 per GB
Next 10-50 TB: $0.030 per GB
Next 50+ TB: $0.025 per GB

I turned on hls encryption for some of my files. Since then I can't hear sound of video files. Only I Could see video playing

BY Chetan Kapadnis 327 1
MajaKisic
MajaKisic
Jul 18, 2021

Hi,

Contact the support team and send the link to the video files. You turned on HLS after uploading, so the system needed to create new versions, might be versions didn't convert well.

Regards

Maja

I have been a free member for almost a year now and I used 4 GB of my 10 GB at the moment, my next billing time is 10 Aug 2021. I have never had an issue, but suddenly since 14 Jul 2021, when I login successfully and try to go to my videos, I get "Error: Unauthorized" message, could you help please

BY Jaco vdMerwe 212 1
MajaKisic
MajaKisic
Sep 15, 2021

Hi Jaco,

I suggest contacting the support team

Regards

Maja