ugoira: switch to frame delays from MediaMetadata model.
Switch the Ugoira Javascript player to using frame delays from the MediaMetadata model instead of from the PixivUgoiraFrameData model. After this is deployed it will be safe to remove the PixivUgoiraFrameData model.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
:class => "fit-width",
|
||||
:width => post.image_width,
|
||||
:height => post.image_height,
|
||||
"data-ugoira-frame-delays" => post.pixiv_ugoira_frame_data.frame_delays.to_json,
|
||||
"data-ugoira-frame-delays" => post.media_metadata.metadata["Ugoira:FrameDelays"].to_json,
|
||||
) %>
|
||||
|
||||
<div id="ugoira-controls">
|
||||
|
||||
Reference in New Issue
Block a user