OpenBSD has some performance problems playing videos in Firefox. This is due to the excessive use in Firefox of some slow syscalls (which are fast in Linux). Firefox developers didn't test the code on OpenBSD, so they didn't detect the problem.
Use OpenBSD 5.9 or -current. Both include a temporary workaround for this problem.