Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Below are some test cases listed:

  1. Insert audio or video [playlist] in the back-end TinyMCE. Result: it's always 100% wide.
  2. View post with audio or video [playlist]. Result: it's always 100% wide.
  3. Insert audio or video [playlist] in the front-end with AJAX and setup it with WPPlaylistView. Result: it's always 100% wide.
  4. Insert [audio] in the back-end TinyMCE. Result: it's always 100% wide.
  5. View post with [audio]. Result: it's always 100% wide.
  6. Insert [audio] in the front-end with AJAX. Result: it's always 100% wide.
  7. Insert [video] in the back-end TinyMCE. Result: it's always 640px wide.
  8. View post with [video]. Result: it's always 100% wide (even if in the back-end it was shown as 640px wide).
  9. Insert [video] in the front-end with AJAX. Result: it's always 640px wide.

So, inconsistencies happen in 7, 8 and 9. 8 is the correct behavior. 7 and 9 should be 100% wide too. They are 640px wide even if I insert 1920x1080px video.

Can I insert a video with AJAX and have it 100% wide (9th case)?

I insert it via AJAX using wp_oembed_get().

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.