fossasia/loklak_webclient

View on GitHub
iframely/plugins/domains/dailymotion.com/dailymotion.swf.js

Summary

Maintainability
A
0 mins
Test Coverage
module.exports = {

    re: /^https?:\/\/www\.dailymotion\.com\/swf\/video\//i,


    getLink: function (url, cb) {
        cb ({
            redirect: url.replace(/\/swf/, '')
        });
    }
};