• Resolved mustermann

    (@mustermann)


    Hi Frank,

    I manage the website https://oldtimer-veranstaltung.de/ with you plugin.

    I would like to have the video at the whole wide of the post. I found this css-code in support:

    .lyMe iframe, .lyte iframe,.lyte .pL{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%!important;
    background:no-repeat scroll center #000;
    background-size:cover;
    cursor:pointer
    }

    I add it in the file jquery.zrssfeed.css from the plugin and it did not work. Then I put it in the childteam file style.css from my theme and it did not work.

    Is the css-code for my website wrong or did I use the wrong file where I added the css-code?

    Thanks for help
    Mustermann

    https://www.ads-software.com/plugins/wp-youtube-lyte/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Frank Goossens

    (@futtta)

    just choose the highest size possible in the wp youtube lyte admin screen, the player will automatically take as much space as available

    additionally if need be you can wrap the lyte video in a div with the appropriate width

    frank

    Thread Starter mustermann

    (@mustermann)

    Hi Frank,
    I choose in the options from your plugin “1280X720 (Maxi-16:9-Format)”.
    Nothing changed on the page: https://oldtimer-veranstaltung.de/ with the video. Something is like a brake with the width of the video.

    Which custom html-code do you mention with:
    “you can wrap the lyte video in a div with the appropriate width”?

    < div ….. </div >

    Is it possible to add in the next plugin version a field “user-defined high and width.

    Thank you for hlep.

    Mustermann

    Plugin Author Frank Goossens

    (@futtta)

    wrapping in a div won’t help, as your width is limited by the width of the parent div;

    #page which is hardcoded at 885px width in your CSS > #content which is 736px (page width – margin – padding) > .entry-wrap > .entry-content > #lyte-wrapper

    To the lyte-vid cannot be larger then 736px in this case (as is the case for your content above and below) and this limitation is in your theme’s CSS. Forcing WP YouTube Lyte to have a bigger video would break your layout (the player would overflow into your sidebar).

    hope this clarifies,
    frank

    Thread Starter mustermann

    (@mustermann)

    Hi Frank,

    thank you for the replay. All pictures and tables (Plugin TablePress) have no problems with the width of 730 px on my website.

    I would like to have the video on the page https://oldtimer-veranstaltung.de/ with “width 730px” like the table under the video.

    Sorry, the webpage is not hardcoded, the theme is respnsive for tablets and smartphone.

    Which code should I complement to that page before and after the URl for the video from Youtube or style from the theme (style.css) or better to the css from the plugin WP YouTube Lyte (jquery.zrssfeed.css) to get a width about 730px like the photos.

    Thank you for help
    Mustermann

    Plugin Author Frank Goossens

    (@futtta)

    well, the video on the homepage actually is not a lyte embed, but a normal youtube one, so that can explain why the width is not adapting ??

    regarding theme responsiveness; sure, there are 3 width’s for #page in your theme’s CSS; 885px (default, for screens wider then 1230px), 805px (for screen with max-width of 1230px) and 100% (for smaller screens, when sidebar is not shown). from this base width the margin and padding on #content is to be deducted. so yes, the theme is responsive, but the width of the content is hardcoded anyhow.

    if you do need to make any adaptations to the CSS, you’ll need to do that in your (child-)theme’s CSS, as jquery.zrssfeed.css is only used on lyte’s settings-page.

    kind regards,
    frank

    Thread Starter mustermann

    (@mustermann)

    Hi Frank,
    I use the plugin WP YouTube Lyte an you wrote “the video on the homepage actually is not a lyte embed”. What is wrong with my implementation from that video with the URL
    https://youtu.be/GU0ikXZ-Syo

    If I use a tablet or smartphone display the width from the youtube-vidoe is ok. Only in the desktop view it has not the size width 730 px.

    You mention, I should change or add something in my style.css from the childtheme.

    Can you help me?

    Thanks
    Muxtermann

    Plugin Author Frank Goossens

    (@futtta)

    Never mind the CSS, let’s first make sure you see the lyte-version of the video instead of the slower youtube-one ??

    Now I guess you don’t have the option “Also act on normal YouTube links?” set to “on”. Try changing the URL into httpv://youtu.be/GU0ikXZ-Syo

    (so “v” instead of “s” after “http”).

    frank

    Thread Starter mustermann

    (@mustermann)

    Hi Frank,

    I think the problem is https at this video and the reason it is not include in the plugin WP YouTube Lyte.

    Older videos with http: (httpv) have the right size on the webpage like this:
    https://oldtimer-veranstaltung.de/inserat/oldtimer-video/

    Videos with https schould be a problem in the moment for WP YouTube Lyte.

    Thank you for help
    Mustermann

    Plugin Author Frank Goossens

    (@futtta)

    Videos with https schould be a problem in the moment for WP YouTube Lyte.

    if you don’t enable the “Also act on normal YouTube links?” option, non-httpv links indeed won’t be turned into lyte vids.

    frank

    Thread Starter mustermann

    (@mustermann)

    Hi Frank,

    I have marked “Auch auf normale YouTube-Links reagieren? Ja (Standard)”

    and I changed https to httpv and it works fine with width 730px.

    Thank you for help and the plugin.
    Mustermann

    Plugin Author Frank Goossens

    (@futtta)

    Great! Now as you told it to “Auch auf normale YouTube-Links reagieren?”, you can keep https.

    frank

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Custom wide size for video and file’ is closed to new replies.