Skip to content

Move Playlist component to mux-player-react#12

Draft
ismapin22 wants to merge 13 commits into
ads-implementationfrom
mux-newsweek-player
Draft

Move Playlist component to mux-player-react#12
ismapin22 wants to merge 13 commits into
ads-implementationfrom
mux-newsweek-player

Conversation

@ismapin22

Copy link
Copy Markdown
Owner

No description provided.

@vercel

vercel Bot commented Apr 30, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
elements-nextjs-with-typescript ❌ Failed (Inspect) May 6, 2025 6:51pm

import Head from 'next/head';
import '../post-video.css'
import Playlist from '../components/playlist';
import "@mux/mux-video-ads"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could this import "@mux/mux-video-ads" be added in NewsweekMuxPlayer so they don't have to know about this?

import '../post-video.css'
import Playlist from '../components/playlist';
import "@mux/mux-video-ads"
import { NewsweekMuxPlayer, PlaylistEndScreen } from "@mux/mux-player-react"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
import { NewsweekMuxPlayer, PlaylistEndScreen } from "@mux/mux-player-react"
import { NewsweekMuxPlayer } from "@mux/mux-player-react"


```jsx
'use client';
import "@mux/mux-video-ads";

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
import "@mux/mux-video-ads";

I would remove this here so they don't have to think about that


```json
"dependencies": {
"@mux/mux-player": "https://gitpkg.vercel.app/ismapin22/elements/packages/mux-player?mux-newsweek-player",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"@mux/mux-player": "https://gitpkg.vercel.app/ismapin22/elements/packages/mux-player?mux-newsweek-player",

this shouldn't be needed if it's a dependency of @mux/mux-player-react right?

"dependencies": {
"@mux/mux-player": "https://gitpkg.vercel.app/ismapin22/elements/packages/mux-player?mux-newsweek-player",
"@mux/mux-player-react": "https://gitpkg.vercel.app/ismapin22/elements/packages/mux-player-react?mux-newsweek-player",
"@mux/mux-video-ads": "https://gitpkg.vercel.app/ismapin22/elements/packages/mux-video-ads?mux-newsweek-player"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"@mux/mux-video-ads": "https://gitpkg.vercel.app/ismapin22/elements/packages/mux-video-ads?mux-newsweek-player"

make @mux/mux-video-ads a dependency of @mux/mux-player-react

'use client';
import Head from 'next/head';
import { useEffect, useState } from "react";
import "@mux/mux-video-ads";

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
import "@mux/mux-video-ads";

remove the need if possible

luwes added a commit to muxinc/elements that referenced this pull request May 7, 2025
This PR builds on top of ismapin22#12

Changes

- Removed the `dist` outputs 
- Added a GH action to build and push the output to a new branch called
`release-news-player` whenever something is pushed to the
`main-news-player` branch
- Fixed some build, lint issues

---------

Co-authored-by: Ismael Pintos <ismaelp@qualabs.com>
Co-authored-by: Christian Pillsbury <cjpillsbury@gmail.com>
Co-authored-by: Ismael Pintos <126787891+ismapin22@users.noreply.github.com>
Co-authored-by: Nicolas Caballero <nicolascaballero.v@gmail.com>
Co-authored-by: ronalduQualabs <ronaldu@qualabs.com>
luwes added a commit to muxinc/elements that referenced this pull request Jun 2, 2025
This PR builds on top of ismapin22#12

Changes

- Removed the `dist` outputs
- Added a GH action to build and push the output to a new branch called
`release-news-player` whenever something is pushed to the
`main-news-player` branch
- Fixed some build, lint issues

---------

Co-authored-by: Ismael Pintos <ismaelp@qualabs.com>
Co-authored-by: Christian Pillsbury <cjpillsbury@gmail.com>
Co-authored-by: Ismael Pintos <126787891+ismapin22@users.noreply.github.com>
Co-authored-by: Nicolas Caballero <nicolascaballero.v@gmail.com>
Co-authored-by: ronalduQualabs <ronaldu@qualabs.com>
luwes added a commit to muxinc/elements that referenced this pull request Jun 12, 2025
This PR builds on top of ismapin22#12

Changes

- Removed the `dist` outputs
- Added a GH action to build and push the output to a new branch called
`release-news-player` whenever something is pushed to the
`main-news-player` branch
- Fixed some build, lint issues

---------

Co-authored-by: Ismael Pintos <ismaelp@qualabs.com>
Co-authored-by: Christian Pillsbury <cjpillsbury@gmail.com>
Co-authored-by: Ismael Pintos <126787891+ismapin22@users.noreply.github.com>
Co-authored-by: Nicolas Caballero <nicolascaballero.v@gmail.com>
Co-authored-by: ronalduQualabs <ronaldu@qualabs.com>
luwes added a commit to muxinc/elements that referenced this pull request Jun 13, 2025
This PR builds on top of ismapin22#12

Changes

- Removed the `dist` outputs
- Added a GH action to build and push the output to a new branch called
`release-news-player` whenever something is pushed to the
`main-news-player` branch
- Fixed some build, lint issues

---------

Co-authored-by: Ismael Pintos <ismaelp@qualabs.com>
Co-authored-by: Christian Pillsbury <cjpillsbury@gmail.com>
Co-authored-by: Ismael Pintos <126787891+ismapin22@users.noreply.github.com>
Co-authored-by: Nicolas Caballero <nicolascaballero.v@gmail.com>
Co-authored-by: ronalduQualabs <ronaldu@qualabs.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants