Skip to content

Commit

Permalink
Release v0.12.10 | v0.12.6
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromewu committed Dec 25, 2023
1 parent e0d4c62 commit c3a7638
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion apps/angular-app/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { RouterOutlet } from '@angular/router';
import { FFmpeg } from '@ffmpeg/ffmpeg';
import { fetchFile, toBlobURL } from '@ffmpeg/util';

const baseURL = "https://unpkg.com/@ffmpeg/[email protected].5/dist/esm";
const baseURL = "https://unpkg.com/@ffmpeg/[email protected].6/dist/esm";

@Component({
selector: 'app-root',
Expand Down
2 changes: 1 addition & 1 deletion apps/nextjs-app/app/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default function Home() {

const load = async () => {
setIsLoading(true)
const baseURL = 'https://unpkg.com/@ffmpeg/[email protected].5/dist/umd'
const baseURL = 'https://unpkg.com/@ffmpeg/[email protected].6/dist/umd'
const ffmpeg = ffmpegRef.current
ffmpeg.on('log', ({ message }) => {
if (messageRef.current) messageRef.current.innerHTML = message
Expand Down
2 changes: 1 addition & 1 deletion apps/react-vite-app/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function App() {
const messageRef = useRef<HTMLParagraphElement | null>(null)

const load = async () => {
const baseURL = "https://unpkg.com/@ffmpeg/[email protected].5/dist/esm";
const baseURL = "https://unpkg.com/@ffmpeg/[email protected].6/dist/esm";
const ffmpeg = ffmpegRef.current;
ffmpeg.on("log", ({ message }) => {
if (messageRef.current) messageRef.current.innerHTML = message;
Expand Down
2 changes: 1 addition & 1 deletion apps/vue-vite-app/src/components/FFmpegDemo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import type { LogEvent } from '@ffmpeg/ffmpeg/dist/esm/types'
import { fetchFile, toBlobURL } from '@ffmpeg/util'
import { defineComponent, ref } from 'vue'
const baseURL = 'https://unpkg.com/@ffmpeg/[email protected].5/dist/esm'
const baseURL = 'https://unpkg.com/@ffmpeg/[email protected].6/dist/esm'
const videoURL = 'https://raw.githubusercontent.com/ffmpegwasm/testdata/master/video-15s.avi'
export default defineComponent({
Expand Down
16 changes: 8 additions & 8 deletions apps/website/docs/getting-started/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ It is recommended to read [Overview](/docs/overview) first.
:::caution
If you are a [vite](https://vitejs.dev/) user, use `esm` in **baseURL** instead of `umd`:

~~https://unpkg.com/@ffmpeg/[email protected].5/dist/umd~~ => https://unpkg.com/@ffmpeg/[email protected].5/dist/esm
~~https://unpkg.com/@ffmpeg/[email protected].6/dist/umd~~ => https://unpkg.com/@ffmpeg/[email protected].6/dist/esm
:::

```jsx live
Expand All @@ -24,7 +24,7 @@ function() {
const messageRef = useRef(null);

const load = async () => {
const baseURL = 'https://unpkg.com/@ffmpeg/[email protected].5/dist/umd'
const baseURL = 'https://unpkg.com/@ffmpeg/[email protected].6/dist/umd'
const ffmpeg = ffmpegRef.current;
ffmpeg.on('log', ({ message }) => {
messageRef.current.innerHTML = message;
Expand Down Expand Up @@ -81,7 +81,7 @@ function() {
const messageRef = useRef(null);

const load = async () => {
const baseURL = 'https://unpkg.com/@ffmpeg/[email protected].5/dist/umd'
const baseURL = 'https://unpkg.com/@ffmpeg/[email protected].6/dist/umd'
const ffmpeg = ffmpegRef.current;
ffmpeg.on('log', ({ message }) => {
messageRef.current.innerHTML = message;
Expand Down Expand Up @@ -134,7 +134,7 @@ function() {
const messageRef = useRef(null);

const load = async () => {
const baseURL = 'https://unpkg.com/@ffmpeg/[email protected].5/dist/umd'
const baseURL = 'https://unpkg.com/@ffmpeg/[email protected].6/dist/umd'
const ffmpeg = ffmpegRef.current;
ffmpeg.on('log', ({ message }) => {
messageRef.current.innerHTML = message;
Expand Down Expand Up @@ -192,7 +192,7 @@ function() {
const messageRef = useRef(null);

const load = async () => {
const baseURL = 'https://unpkg.com/@ffmpeg/[email protected].5/dist/umd'
const baseURL = 'https://unpkg.com/@ffmpeg/[email protected].6/dist/umd'
const ffmpeg = ffmpegRef.current;
// Listen to progress event instead of log.
ffmpeg.on('progress', ({ progress, time }) => {
Expand Down Expand Up @@ -243,7 +243,7 @@ function() {
const messageRef = useRef(null);

const load = async () => {
const baseURL = 'https://unpkg.com/@ffmpeg/[email protected].5/dist/umd'
const baseURL = 'https://unpkg.com/@ffmpeg/[email protected].6/dist/umd'
const ffmpeg = ffmpegRef.current;
ffmpeg.on('log', ({ message }) => {
messageRef.current.innerHTML = message;
Expand Down Expand Up @@ -313,7 +313,7 @@ function() {
const messageRef = useRef(null);

const load = async () => {
const baseURL = 'https://unpkg.com/@ffmpeg/[email protected].5/dist/umd'
const baseURL = 'https://unpkg.com/@ffmpeg/[email protected].6/dist/umd'
const ffmpeg = ffmpegRef.current;
ffmpeg.on('log', ({ message }) => {
messageRef.current.innerHTML = message;
Expand Down Expand Up @@ -372,7 +372,7 @@ function() {
const messageRef = useRef(null);

const load = async () => {
const baseURL = 'https://unpkg.com/@ffmpeg/[email protected].5/dist/umd'
const baseURL = 'https://unpkg.com/@ffmpeg/[email protected].6/dist/umd'
const ffmpeg = ffmpegRef.current;
ffmpeg.on('log', ({ message }) => {
messageRef.current.innerHTML = message;
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/core-mt/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ffmpeg/core-mt",
"version": "0.12.5",
"version": "0.12.6",
"description": "FFmpeg WebAssembly version (multi thread)",
"main": "./dist/umd/ffmpeg-core.js",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ffmpeg/core",
"version": "0.12.5",
"version": "0.12.6",
"description": "FFmpeg WebAssembly version (single thread)",
"main": "./dist/umd/ffmpeg-core.js",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/ffmpeg/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ffmpeg/ffmpeg",
"version": "0.12.9",
"version": "0.12.10",
"description": "FFmpeg WebAssembly version for browser",
"main": "./dist/umd/ffmpeg.js",
"types": "./dist/esm/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/ffmpeg/src/const.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const MIME_TYPE_JAVASCRIPT = "text/javascript";
export const MIME_TYPE_WASM = "application/wasm";

export const CORE_VERSION = "0.12.5";
export const CORE_VERSION = "0.12.6";
export const CORE_URL = `https://unpkg.com/@ffmpeg/core@${CORE_VERSION}/dist/umd/ffmpeg-core.js`;

export enum FFMessageType {
Expand Down

0 comments on commit c3a7638

Please sign in to comment.