99x/craft-mediaflow

A Mediaflow integration plugin for CraftCMS

Maintainers

👁 egilfujikawanes

Package info

github.com/99x/craft-mediaflow

Documentation

Type:craft-plugin

pkg:composer/99x/craft-mediaflow

Statistics

Installs: 25

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.2 2025-07-08 11:51 UTC

Requires

Suggests

None

Provides

None

Conflicts

None

Replaces

None

proprietary 4261a62651e90243acd54f506b071ca4789e970b

This package is not auto-updated.

Last update: 2026-06-23 20:01:13 UTC


README

A Mediaflow integration plugin for CraftCMS

👁 Screenshot

Requirements

This plugin requires Craft CMS 5.7.0 or later, and PHP 8.2 or later.

Installation

You can install this plugin from the Plugin Store or with Composer.

From the Plugin Store

Go to the Plugin Store in your project’s Control Panel and search for “Mediaflow”. Then press “Install”.

With Composer

Open your terminal and run the following commands:

# go to the project directory
cd /path/to/my-project

# tell Composer to load the plugin
composer require 99x/craft-mediaflow

# tell Craft to install the plugin
./craft plugin/install mediaflow

Twig example

<div class="media-container">
 {% if entry.mediaflowField1 | length %}
 {% set media = entry.mediaflowField1|first %}
 <div class="media-item main-media">
 {% if media.basetype == 'video' %}
 <div class="video-wrapper">
 {{ media.embedCode | raw }}
 </div>
 {% else %}
 <img src="{{ media.url }}" alt="{{ media.altText ?: media.name }}">
 {% endif %}
 <div class="media-info">
 <p><strong>Name:</strong> {{ media.name }}</p>
 <p><strong>Filename:</strong> {{ media.filename }}</p>
 <p><strong>File Type:</strong> {{ media.filetype }}</p>
 {% if media.basetype == 'image' %}
 <p><strong>Dimensions:</strong> {{ media.width }} x {{ media.height }}</p>
 <p><strong>Photographer:</strong> {{ media.photographer ?: 'Unknown' }}</p>
 {% endif %}
 </div>
 </div>
 <pre><code>{{ media.json | json_encode(constant("JSON_PRETTY_PRINT")) }}</code></pre>
 {% endif %}
</div>