Added support to retrieve the title from the video metadata
     - Adjusted autoplay configuration
     - Modified the layout
    
    The original source code is available on:
    https://github.com/gohugoio/hugo/tpl/tplimpl/embedded/templates/shortcodes/youtube.html
    https://github.com/gohugoio/hugo/tpl/tplimpl/embedded/templates/shortcodes/vimeo.html
    Copyright 2022 The Hugo Authors. Licensed under the Apache License, Version 2.0.
*/}}

{{ $error := false }}

{{/* Initialize arguments */}}
{{ $args