Navigation überspringen

[Gelöst] making videos responsive

This support ticket is created vor 4 years, 4 months. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Zeitzone des Unterstützers: Asia/Kolkata (GMT+05:30)

Dieses Thema enthält 1 reply, hat 2 Stimmen.

Zuletzt aktualisiert von Minesh vor 4 years, 4 months.

Assistiert von: Minesh.

Author
Artikel
#2282147

I want to make use of jquery.fitvids.js to make videos responsive without black parts at the sides. Unfortunately some javascript code from Toolset has to be dequeued for that. Does it make sense to dequeue a javacript file or cancel some javascript code?

#2282473

Minesh
Unterstützer

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

We can not predict that what things you added to your page and what JS required for that, so you need to run a test and step by step remove the Toolset JS one by one for your specific targeted page/post/post-type and if you see the page/post is rendered as expected and you see all working fine then those JS that you dequeue is not required, otherwise required.

For instance, lets say you added a view with pagination then view's pagination JS script will be required, you can not dequeue it.