Skip to content

Issue with exports from dashjs? #5

Description

@senkwe

Playing around with this lib and encountered the following error for what looks like a simple setup.

The requested module '/node_modules/dashjs/dist/dash.all.debug.js?v=f211ddad' does not provide an export named 'default'

My imports

import { SolidPlyr } from 'solid-plyr';
import { SourceInfo } from 'plyr';

JSX
<SolidPlyr source={currentSolidPlyrObjectURL()!} />

And finally currentSolidPlyrObjectURL is set to

let si: SourceInfo = {
            type: 'video',
            sources: [{
                src: videoObjectURL,
                type: 'video/mp4',
                size: 720,
            }
            ]
        };

setCurrentSolidPlyrObjectURL(si);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions