guide.js:19 Please replace data-target="video.player" with data-video-target="player". The data-target attribute is deprecated and will be removed in a future version of Stimulus. video
<%= content_tag :video, { 'data-video-target': 'player' } do %>
<video id="my-video" class="video-js vjs-big-play-centered item-video" controls preload="auto" data-setup="{}"> <source src="<%= url_for(@item.attachment) %>" type="<%= @item.attachment.content_type %>" /> <p class="vjs-no-js"> To view this video please enable JavaScript, and consider upgrading to a web browser that <a href="https://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a> </p> </video>