New Dynamic YouTube Gallery - Embed YouTube Playlist, Channel, Live Stream in minutes. Read More

Group js files into one?

  • filip
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0

Group js files into one? was created by filip

Hello,

I would like to know if it is possible to regroup all the js files used by the component or module All Video Share - Gallery?
Indeed, today when I test my site with google insight for example, I have a problem with the mobile version. I get a score of 46/100 while on PC it is much better. (86/100)
And among the problems I have:
Eliminate render-blocking JavaScript and CSS in above-the-fold content

And I realize that there is a lot of javascript file for allvideosshare.

Thank you in advance for your help and advice.
6 years 3 weeks ago #8983

Please Log in or Create an account to join the conversation.

  • Posts: 2478
  • Thank you received: 1451

Replied by Administrator on topic Re: Group js files into one?

All Video Share requires and loads 3 JS files,

mediaelement-and-player.min.js
vimeo.min.js
allvideoshare.js

We would suggest using JCH optimize plugin that combines javascript/css files into one.
6 years 3 weeks ago #8984

Please Log in or Create an account to join the conversation.

  • filip
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0

Replied by filip on topic Re: Group js files into one?

6 years 3 weeks ago #8985

Please Log in or Create an account to join the conversation.

  • Posts: 2478
  • Thank you received: 1451

Replied by Administrator on topic Re: Group js files into one?

Hello,

Only the "allvideoshare.js" & "allvideoshare.css" files from your list belong to us. Also, this is not something that must be done via our extension and you will need a optimize plugin. I'm sure "JCH Optimize" must be a best choice. I've no clue why it won't work for you. I would simply suggest to check with their documentation or email their support team.
6 years 3 weeks ago #8986

Please Log in or Create an account to join the conversation.

Time to create page: 0.169 seconds

We accept cookies to provide you the best viewing experience. By using our services, you agree to our use of cookies