% data = action_data video_image = data["video_image"] video_title = video_image.title.to_s video_desc = video_image.desc.to_s video_post_agency = video_image.post_agency.to_s video_postdate = video_image.postdate.to_s if video_image.is_youtube video_url = video_image.embed_url video_webm_url = nil else video_url = video_image.video_file.url video_webm_url = video_image.video_file_webm.url end hd_icon_url = "/assets/video_pro/icon_hd.png" view_icon_url = "/assets/video_pro/icon_view.png" view_count_trans = I18n.t("video_pro.view_count") view_count = video_image.view_count autoplay_video = false hide_video_tools = false snapshot_url = video_image.get_snapshot_url @is_frontend = true video_scale = (video_image.scale ? video_image.scale : 56.25) %>