定制 kuriousagency/podcast-embedder 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

kuriousagency/podcast-embedder

最新稳定版本:3.0.0

Composer 安装命令:

composer require kuriousagency/podcast-embedder

包简介

Podcast fieldtype

README 文档

README

Creates a podcast fieldtype for the embed of Podbean or Libsyn podcast media players. A podcast can be embeded using a podcast's share url.

Requirements

This plugin requires Craft CMS 3.0.0-beta.23 or later.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require kuriousagency/podcast-embedder
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Podcast Embedder.

Podcast Embedder Overview

Podcasts hosted on either the podbean or libsyn services can be embedded in templates using the podcast embedder fieldtype.

Configuring Podcast Embedder

Create a new field in Settings → Fields → New Field and select Podcast from the fieldtype dropdown.

Using Podcast Embedder

To add a podcast to templates add the following twig code:

{{ craft.podcastEmbedder.embed(podcast) }}

Available Twig Functions

  • craft.podcastEmbedder.embed()

  • craft.podcastEmbedder.getEmbedUrl()

  • craft.podcastEmbedder.getThumbnail()

  • craft.podcastEmbedder.getTitle()

  • craft.podcastEmbedder.getDescription()

  • craft.podcastEmbedder.getType()

  • craft.podcastEmbedder.getPodcastId()

Podcast Embedder Roadmap

  • Add more providers

Brought to you by Kurious Agency

统计信息

  • 总下载量: 1.56k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-05-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固