This example shows how to include images and HTML5 videos responsive  where the video type is detected automatically because of the extension. You need to use $default_big_navigation='HTML'; because each include is completely different and a page refresh is needed for the detection. They have the configured size as maximum size. If you make the browser smaller or the device has a smaller resolution, the images and videos do scale and elements like the description, the rotate buttons and the thumbnail strip are hidden. For videos this feature is only available for the HTML5 videos! Also see the <a style="text-decoration:underline;" href="http://www.tinywebgallery.com/demo/twg_image/04_Multimedia~019_html5_player_mixed_auto/x">Bilder und HTML5 videos autodetection demo</a>. 
Please read howto 57 how to make TWG responsive. <a href="http://www.tinywebgallery.com/download_example.php?file=example_responsive_html5_images.zip"><b>Download example</b></a> 