Flash (swf&flv) content troubleshooting - update & temporary solution
Permalink
My setup: Concrete 5.3.1 on a LAN testserver.
Problem: Trying to add a flash video.
Steps taken:
1. Tried "video block > upload" as flv. All would be pink and dandy if the video player wouldn't stop with a fraction before the end of the video. No replay option. Unacceptable.
2. Tried as swf. File size is 5.3MB. Adding through "flash block > upload file" takes forever (i've hit the upload button 10 minutes ago and it's still uploading. Reminder: the testserver is LAN-based.)
3.Tried again as swf, manually uploaded the swf file to "files/incoming" and embedded it through flash block from there.
This time it just stops printing the page code starting at the div that embeds the flash block.
I'm totally lost, any ideas? Could this be a size issue? Can flash be hard-coded into the page template without using a block? Cheers!
Later edit: ok, so far i found out that:
1) when uploading, if file size exceeds ~3MB, file list auto refresh fails to show the new uploaded file, no matter the extension (jpg, swf, tif)
2) when uploaded swf size exceeds ~3MB it is no longer displayed, along with the page code coming after it. As long as it's below 3.5MB it's ok.
PHP ini settings for both uploaded and post are 20MB.
UPDATE
Unfortunately i haven't been able to find out the reason for the erroneous handling of large swfs. I have managed though to embed a flv into a small enough swf (2.6MB) so that it would display just fine.
Problem: Trying to add a flash video.
Steps taken:
1. Tried "video block > upload" as flv. All would be pink and dandy if the video player wouldn't stop with a fraction before the end of the video. No replay option. Unacceptable.
2. Tried as swf. File size is 5.3MB. Adding through "flash block > upload file" takes forever (i've hit the upload button 10 minutes ago and it's still uploading. Reminder: the testserver is LAN-based.)
3.Tried again as swf, manually uploaded the swf file to "files/incoming" and embedded it through flash block from there.
This time it just stops printing the page code starting at the div that embeds the flash block.
I'm totally lost, any ideas? Could this be a size issue? Can flash be hard-coded into the page template without using a block? Cheers!
Later edit: ok, so far i found out that:
1) when uploading, if file size exceeds ~3MB, file list auto refresh fails to show the new uploaded file, no matter the extension (jpg, swf, tif)
2) when uploaded swf size exceeds ~3MB it is no longer displayed, along with the page code coming after it. As long as it's below 3.5MB it's ok.
PHP ini settings for both uploaded and post are 20MB.
UPDATE
Unfortunately i haven't been able to find out the reason for the erroneous handling of large swfs. I have managed though to embed a flv into a small enough swf (2.6MB) so that it would display just fine.
...a jpeg of about 8MB. Other than the upload list failing to show the newly uploaded file after the automatic refresh, everything worked great. Added image block, printed correctly, the crowd went wild.
I'm only encountering this issue with swfs. Everything larger than 3MB - bummer - no show.
I've searched for limitations of 3MB in all kinds of places (php, apache configs) and didn't come across something like that.
I'm only encountering this issue with swfs. Everything larger than 3MB - bummer - no show.
I've searched for limitations of 3MB in all kinds of places (php, apache configs) and didn't come across something like that.
This by no means a end all solution, but every site I work with has access to ftp... so I simply create a folder named incoming under files/ so siteroot/files/incoming then ftp to that, or in your case literally just plop the file in that folder.
If you go to your filemanager you click the "more" in upper right, select the incoming tab, and your file will be there and will import fine.
If you go to your filemanager you click the "more" in upper right, select the incoming tab, and your file will be there and will import fine.
also check under settings where it has allowed file extensions, i had a tif not upload because my extension was in a format that wasn't there by default.
i have ftp access, already used the "incoming" directory strategy and added .tif to the allowed file types list (i've added .tif more to test the transfer and handling of large file types).
So I could say that one way or the other i manage to get my files in the right place.
Nevertheless, my big issue is the incorrect display of swfs >3MB
So I could say that one way or the other i manage to get my files in the right place.
Nevertheless, my big issue is the incorrect display of swfs >3MB
How do you change your php settings to get more than 2 meg uploads? I'm not too smart about computers, but I know my way around. When you say 'php' does that have something to do in the command line script? I've been trying to figure this out for ages, and it would be great if someone could help me.
You have to change the server-side php configuration settings. I'd start with a .php document containing <?php phpinfo() ?> and accessing it to see exactly what's what.
More info here:http://php.net/manual/en/configuration.php...
More info here:http://php.net/manual/en/configuration.php...
next off, can you try this stuff out with other file types larger than 5 megs? That should help isolate if its a config issue around file size or a file type issue.
for example, i know there are weird issues with video in flash and meta data - if the length setting in your meta data is different than the actual length you might have a condition where the player's scrubber didn't know what to do..
last off, I can tell you this stuff works great elsewhere. i routinely upload files above 20 megs, even into the 100's with the flash uploader, so I know there's a config issue to resolve here.