Add Subtitles to a video in WordPress

WordPress Video Options

I faced an interesting challenge last week: I wanted to add subtitles to a video I had inserted in a page with WordPress’ Core Video Shortcode, but I couldn’t find any shortcode parameter allowing me to specify a subtitle file.

I checked the shortcode’s source code but couldn’t find any “subtitle” attribute there. The Codex page wasn’t helpful either. After more digging, I realized that the whole thing was in fact super easy!

Continue reading

Post Views for Jetpack

New week, new plugin! 🙂

This is once again a Jetpack add-on, and it’s also another good example of the things you can accomplish with the REST API: Post Views for Jetpack pulls data about your site’s stats, as well as stats for each one of your posts.

This is still a work in progress; I would love to know what you’d like in this plugin, and where you would like to display those post views. Open a new thread in the support forums to let me know!

Uninstall Chrome’s “Live HTTP Headers” Right Now

I’m very careful with the things I install on my computer, and the extensions I used in Google Chrome, my browser of choice.

Unfortunately, it seems that an extension I installed a long time ago, “Live HTTP Headers“, is now used to insert a random JavaScript file on all the sites you visit. That file will randomly generate an ad pop-up on any site, using the asgds_modal ID. That’s pretty bad. 😔

If you use that extension, you’ll want to deactivate it right now!

It took me a little while to figure out where that pop-up was coming from, as the extension name hadn’t changed. The only tip was that the JavaScript file would sometimes return a 404, thus generating an error in my browser console. That led me to look at the Extension page in the Chrome store, only to realize the extension had already been removed from the store. That’s great, but it’d be great if they also removed the app from all browsers using it!

I’m now back to using the Network tab of the Developer tools for that kind of work, unless some of you know of a good extension I could use?