Upload restrictions – upload_mimes – filter: Adding multiple MIMEs for a single extension and adding multiple extensions for a single MIME type?

This filter only accepts strings for mime types. It also already has support for webm, mp4, mpeg, ogv, and ogg. I think you can remove everything except the line for SVGs. A word of warning, WordPress doesn’t support SVG upload by default because it’s a security concern. Be careful about enabling this. At the least, … Read more

Capture Webcam Video within Buddypress (and BuddyPress Media) [closed]

I’m from the team that developes BuddyPress Media. Till now, capturing a video involved expensive (in various ways) setups. It depended on flash and silverlight which could reach the hardware (mic and webcam) . Html5 is the way to go, now. However, the support isn’t wide enough. This might help you: https://stackoverflow.com/questions/7386675/video-capture-in-html-5. If you do … Read more

Fullscreen Video/GIF Intro

The following code uses HTML5 Video, with the muted & autoplay attributes set. It takes the video, which I uploaded through the media gallery and displays it fullscreen. I’m using a script that detects when the video is done playing, then it fades out and is removed from the DOM. HTML <div class=”fullscreen-bg”> <video muted … Read more

Video playing from featured image?

It happens that I answered a similar Question. And adapting it a little bit, some serious magic can happen šŸ˜‰ Notes: the CSS is being printed inline. It should go with the theme’s style.css and be adapted accordingly. each Featured Image is encapsulated in a div with id=”videocontainer-‘ . $post_id . ‘”. and a Javascript … Read more

fetch images and videos

The problem with this is that each sites content is formated differently. If there was only one site you were wanting to pull from you maybe able to use curl() and then sort though the content. A better idea may be to grab content from the sites RSS feed and sort though and grab what … Read more

Problem with JWplayer. Video is missing?

When you work with jwplayer you need to make sure you- Check the supporting file documentation http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12539/supported-video-and-audio-formats If you are using anything other than mp4 its fine. If you are tying to play mp4 files and you are having problem with it (video not playing before it fully loaded) you must swap the index of … Read more

How to create thumbnails in wordpress with jwplayer

I did worked with the plugin YAPB (also possible with standard WordPress thumbnail but needs bit of code moding) and used this setting in the arrays of JW player. It might be not fully automated but you can control your introduction image. <?php if ($post->image): ?> ‘image’: ‘<?php echo $post->image->getThumbnailHref(array(‘w=400′,’h=276′,’q=95′,’zc=1′,’fltr[]=usm|30|0.5|3′)) ?>’, <?php else: ?> ‘image’: … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)