• Resolved webmystery

    (@webmystery)


    Thanks for adding video support!

    Supported video uploads and is available in the media section.

    Is is possible to show a link to the video file in the comment instead of just the file name?

    If I try to upload a file (.mov) that exceeds the file attachment size in my php.ini file there is no error handling. I get a white screen after the browser (chrome Mac) spins for a while. It is easy enough for me to navigate back, and I know what I did wrong, but maybe not so apparent to many users.

    http://wordpress.org/plugins/comment-attachment/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter webmystery

    (@webmystery)

    This may be related to my white screen described above. I see an error message in the dashboard about missing “mime_content_type” or “finfo_file” functions. Mime_content_type is apparently deprecated. What are your recommendations for the finfo_file settings?

    Thanks

    Plugin Author latorante

    (@latorante)

    Hi there mate,

    firstly. The video/audio player feature is purely experimental and the supported video formats for video playback in wordpress 3.6(and higher) are: ‘mp4’, ‘m4v’, ‘webm’, ‘ogv’, ‘wmv’, ‘flv’. So .mov won’t do.

    Secondly, if you upload a massive file, and it spins and then stops – possible on wp-comments-post.php right? and without any error, my guess would be, you’ve excceeded one of theese:

    • max_execution_time
    • max_input_time
    • memory_limit

    – whichever comes first, while uploading that big file. In general I wouldn’t advise to upload big files thru wordpres, that’s why it gives you option for file size limit.

    Regards, Mart

    Plugin Author latorante

    (@latorante)

    The missing functions only decrease the security – because we can’t tell 100% if the file given us, named for example “hello.doc” is really a document, we can check what general upload mime type says, and the extension being “doc”, but no there are better functions in PHP to determine real mime type of a file.

    That wouldn’t cause the problem tho 🙂 it’s the thing said above. The plugin checks if you have one of those fuctions, if not, uses general upload mime type given to it.

    Regards, Mart

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Video thanks & questions’ is closed to new replies.