STS undefined

“Cannot Read Property ‘STS’ of Undefined” When Using SP.UI.ModalDialog in SharePoint 2013

I’m using SharePoint’s built-in modal dialog for a single page application I’ve been developing. When I refresh the page to test changes I’ll randomly get an error saying that “Cannot read property ‘STS’ of undefined.” I’m using the Script-on-demand functions that should make things work: SP.SOD.executeFunc('sp.ui.dialog.js', 'SP.UI.ModalDialog', myFunction); Looking at the stack trace, I can […]

Screenshot of HandBrake video tab.

Rotate Videos that were Recorded Sideways

Ever since smartphones started adding video recording capabilities, I’ve seen a lot more videos recorded in “portrait” mode. This happens when you record a video while holding your phone upright instead of sideways. Depending on the phone, the video recording app you used, and how you are playing it back, the video may end up […]