Home › Forums › Legacy Support › Support queries › Styling issues › Video adaptable to size screen
- This topic has 27 replies, 4 voices, and was last updated 4 years, 3 months ago by logan.
-
AuthorPosts
-
September 17, 2019 at 3:39 am #226239tuaptitudSpectatorHi Alex, I've used the CSS you sent me, but still, I didn't like it. The idea is that the video is perfectly adapted to the screen size and does not move with the scroll. I don't know if this is possible, I understand. I will request the return.September 17, 2019 at 8:14 am #226298Anshuman SahuKeymasterThis reply has been marked as private.September 17, 2019 at 1:01 pm #226365tuaptitudSpectator
Hola Alex, </ span>
Perfecto, eso es lo que estoy buscando. Le sugiero que ponga 2 botones, uno para los comentarios de la unidad y el otro para descargar archivos adjuntos.
Only if this is possibleMuchas gracias Alex.
September 17, 2019 at 1:41 pm #226388tuaptitudSpectatorThis reply has been marked as private.September 18, 2019 at 1:56 pm #226610Anshuman SahuKeymasterplease try adding this given code in your wplms-customizer.php file in wplms customizer plugin : add_action('wplms_after_every_unit',function(){ ?> <style> .toggle_extras_unit_controls:after{ content:"\f063"; font-family:'fontawesome'; } .toggle_extras_unit_controls.active:after{ content:'\f062'; font-family:'fontawesome'; } body.course_pursue_panel_hide .unitattachments,body.course_pursue_panel_hide .unitforum,body.course_pursue_panel_hide div#add_unit_comment textarea{background:#000} body.course_pursue_panel_hide div#add_unit_comment textarea{ border:1px solid rgba(255,255,255,0.3) } </style> <script> jQuery('.fitvids iframe').after('<a class="toggle_extras_unit_controls button full"></a>'); jQuery('#unit_content .unitforum,#unit_content .unitattachments,#unit_content h3.assignment_heading,#unit_content div#discussion').hide(); jQuery('.toggle_extras_unit_controls').on('click',function (){ jQuery('#unit_content .unitforum,#unit_content .unitattachments,#unit_content h3.assignment_heading,#unit_content div#discussion').toggle(); jQuery(this).toggleClass('active'); }); </script> <?php });September 18, 2019 at 11:54 pm #226663tuaptitudSpectatorHi Alex I see something is still wrong. These are the screenshots. http://prnt.sc/p7znur http://prnt.sc/p7znxd http://prnt.sc/p7znyo http://prnt.sc/p7znzi Please help me on this. Thank you very much.September 19, 2019 at 6:17 am #226695loganMemberHello, we have modified the code, actually while copy-pasting things last day, some script tag got missing thats why it caused an issue. use this one.add_action('wplms_after_every_unit',function(){
?>
<style>
.toggle_extras_unit_controls:after{ content:"\f063"; font-family:'fontawesome'; } .toggle_extras_unit_controls.active:after{ content:'\f062'; font-family:'fontawesome'; } body.course_pursue_panel_hide .unitattachments,body.course_pursue_panel_hide .unitforum,body.course_pursue_panel_hide div#add_unit_comment textarea{background:#000} body.course_pursue_panel_hide div#add_unit_comment textarea{ border:1px solid rgba(255,255,255,0.3) }
</style>
<script>
jQuery('.fitvids iframe').after('<a class="toggle_extras_unit_controls button full"></a>');
jQuery('#unit_content .unitforum,#unit_content .unitattachments,#unit_content h3.assignment_heading,#unit_content div#discussion').hide();
jQuery('.toggle_extras_unit_controls').on('click',function (){
jQuery('#unit_content .unitforum,#unit_content .unitattachments,#unit_content h3.assignment_heading,#unit_content div#discussion').toggle();
jQuery(this).toggleClass('active');
});
</script>
<?php
});
October 2, 2019 at 5:18 pm #228515tuaptitudSpectatorHello, It is not the expected result. It is not perfectly square to the screen size, the video moves up and down with the mouse scroll. I will ask for my refund, I will do it with an external developer. Thank you.October 3, 2019 at 8:47 am #228611Anshuman SahuKeymasterYup you can ask for the refund. We already generally provided the code on our forums .There is no need to pay $59 for that. We are trying to make the video fixed but it has some issues with the iframe vimeo resposiveness of the video . The height of the video depends upon the video's width too . this is where fixing the video is being tough for us . We need to look out for a way to do this .November 12, 2019 at 12:25 am #233084tuaptitudSpectatorThis reply has been marked as private.November 12, 2019 at 10:24 am #233136loganMemberThis reply has been marked as private.December 2, 2019 at 4:40 am #235436tuaptitudSpectatorThank youDecember 2, 2019 at 8:18 am #235481loganMembercase closed. -
AuthorPosts
- The topic ‘Video adaptable to size screen’ is closed to new replies.