The width value is 100% and the aspect ratio value depends on the aspect of your video, most are 16*9, but others will vary. To get this going for responsive design is quite simple you need to add into the JW Player code a width and aspectratio value. Making JW Player videos scale in all browsers, tablets and phones for responsive design The Process Place the code on your page to use as a regular fixed size video - too make responsive read on. Next generate your code, JW Player code sample or just use this format and edit your size and source to suit To kick start JW PLayer you need to create an account then download the latest player, 7.5, and copy the jwplayer folder and contents to your web root and reference the Javascript player files required in the of your document, add in your correct JW Player key if you have one, if you don't just omit the line. To scale a JW Player video to fit any browser, tablet or mobile device for responsive design you need to change some of the video code.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |