Skip to content

Commit

Permalink
fix(entry): format
Browse files Browse the repository at this point in the history
  • Loading branch information
ThornWalli committed Dec 27, 2024
1 parent 78e8244 commit 1310aea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/utils/entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export const canVideoPlay = async blob => {
video.playsinline = true;
video.src = objectUrl;

const { resolve, promise } = new Deferred();
const { promise, resolve } = new Deferred();
const timeout = window.setTimeout(resolve, 500);

await Promise.race([video.play(), promise]);
Expand Down

0 comments on commit 1310aea

Please sign in to comment.