• Welcome to WooUSEFUL by PHPVIBE . Please log in.

[ Video Sharing CMS v4 ] Can we?

Started by mihai,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mihaiTopic starter

Can we add player config code to media queries?
(Instead having only one resolution to have multiple resolutions) @blabla (1200) w-640 h-400   @blabla (1600)w-1200 h-800
  •  

Marius

Pretty hard, php doesn't interact with css at all.
If this helped, consider buying me a coffee.
20 years coding, tweaking, building in PHP. Still creating!
  •  

mihaiTopic starter

But can we do that with video wrapper?(change the w- and the h- of the video wrapper)
  •  

mihaiTopic starter

Or can we use instead of w-800 h-400      w-100%   h-100%   of the video wrapper?
  •  

Marius

The video-wrapper high is forced by php because most players will render at 1px height if you make responsive the wrapper.
This is a thing I'm looking onto also.
If this helped, consider buying me a coffee.
20 years coding, tweaking, building in PHP. Still creating!
  •  

mihaiTopic starter

  •  

Similar topics (7)