Giter VIP home page Giter VIP logo

external-videos's People

Contributors

nimmolo avatar silviapfeiffer avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

johnf nimmolo

external-videos's Issues

Embed and fetch fixes

Need to sanitize video post data in the SP_EV_Admin::save_video() function prior to saving video posts. Also need to change this function to use the embed_url as the video's URL in post content, rather than the video_url (for viewing on host). The latter works as an embed url on some hosts, but not on others. I believe the embed url will always work if the format is correct.

In the host classes fetch loops I would like to break out the $video array standardization functions into separate functions (compose_video($vid)) so they are easier to read and maintain.

The upcoming "Media Explorer" extensions will need analagous functions which can be defined in the host classes at a later time.

Make setting for wp_post_status preference when videos are pulled from services

Currently, when videos are pulled from the hosting services to the WP instance, they are automatically published.

However, at a service with higher privacy like Vimeo, users and others can view draft videos that are not ready for publication. These videos would still appear in an authenticated request to the user's upload channel and be published on WP - not ideal.

The proposed setting would govern whether posts pulled in by the cron job, or otherwise, are automatically published, or set to draft, pending, or private.

New Vimeo API

Hi Silvia,

Looks like vimeo has deprecated the" Vimeo Advanced API" - check here. This could be the reason for the video feed not updating from Vimeo.

I'm looking into making their API work with the plugin. Let me know if you're already working on it, otherwise I'll proceed.

Move Options setup to new PHP Class

During debugging I have noticed that the options seem to be loaded many many times during admin init, and I think there is something fundamentally inefficient about the way I've written it. I just don't understand OOP/Classes enough to know how to fix it.

Since each host formats author options a different way, i suspect it may be a case of creating an abstract class in core, and extending it for each host. anyway Silvia if you get a chance, could you summarize for me the proper way to do this?

I think i can do it if you can explain the principle involved! :-)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.