The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
change attachment limit for video play longer than 2 minutes
hi, i wasnt sure what to actually title this thread. but my issue im facing is i can not get a video to play more than 2 minutes.
i have created a html5 video/audio player for attachments for vb4. so when uploading a .mp3 or .mp4 the media player shows and plays whats in the uploaded attachments. everything is fine with mp3, but when trying to play the mp4 video, it stops playing after just under 2 minutes. 1 minute videos play fine. but anything over 2 minutes cuts off while watching. is this a attachments limit issue or something i can edit in attachment.php to fix this please? i created the same mod for vb3 and the mp4 video cuts off as-well. i have my upload limit to the max, and mp4 videos fully upload to the correct file size in attachment. even the video shows 3:45 in length of time, but still cuts off just before 2 mins. just wondering if anyone has ran into an issue like this? thanks. EDIT: ok so this has to do with the max file upload size in mysql yes? as soon as i moved all file attachments to be stored in Directory folder. i re-uploaded the mp4 attachment and everything came good. if this is to do with mysql, im guessing its something i cant change without accessing the root server yeah? anyways, when i release this i know to tell users to store attachments in a folder. |
#2
|
||||
|
||||
I was gonna say that this sounds like it has to do with your server limits (whether mysql or php), not with vbulletin limits. It sounds like you figured that out. And yes, if you don't have access to change those values, you would need to talk to your host about them.
|
Благодарность от: | ||
ShawneyJ |
#3
|
||||
|
||||
hi Lynne, thanks. it shouldn't be php because my php.ini limit is set at 1024mb.
i do have access to the root so i will have a look around in there later. thanks. |
#4
|
||||
|
||||
What is the php max_execution_time ?
if the file doesn't fully download before the phptimeout occurs, then you don't be able to download the full attachment. |
#5
|
||||
|
||||
hi mate. yep ok cool thanks. max_execution_time is only 120.
can i ask what it should be please? thanks. |
#6
|
||||
|
||||
120 is 2 minutes. Try increasing it to 240 (4 minutes) and see if that makes a difference. You will need to restart apache after changing the php.ini file.
|
Благодарность от: | ||
ShawneyJ |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|