Skip to content

Issue with exports from dashjs?Β #5

@senkwe

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);

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