[8WR] XenMedio (Media) PRO

[8WR] XenMedio (Media) PRO [Paid] 1.7.0

No permission to buy ($40.00)
@Jaxel it wil be nice if in thread title we can set a prefixe for the discussion instead of Media : (in the tiltle)

i have vidéo prefixe, i would like to use it

Any idea?

Thank you
 
How do you turn new media notification off? In alert preferences for Media, everything is unchecked yet this remains. How can I get rid of it on a user by user basis. Thanks

how.webp
 
Strange. Regular users are seeing it, Mark the media as read and it disappears. Unless I've made them all media moderators somehow. :eek:
Well thats not what it is... its a moderation queue counter... You can look at the navtab code:

Code:
<?php

class EWRmedio_Listener_NavTabs
{
    public static function listen(array &$extraTabs, $selectedTabId)
    {
        $permsModel = XenForo_Model::create('EWRmedio_Model_Perms');
        $perms = $permsModel->getPermissions();
       
        if ($perms['mod'])
        {
            $mediaModel = XenForo_Model::create('EWRmedio_Model_Lists');
            $counter = $mediaModel->getQueueCount();
        }

        $extraTabs['media'] = array(
            'title' => new XenForo_Phrase('media'),
            'href' => XenForo_Link::buildPublicLink('full:media'),
            'position' => 'middle',
            'linksTemplate' => 'EWRmedio_Navtabs',
            'perms' => $perms,
            'media' => $selectedTabId == 'media' ? true : false,
            'counter' => !empty($counter) ? $counter : false,
        );
    }
}
The counter is only enabled if the person is a moderator, and it counts the moderation queue.
 
Hey jaxel can u tell me were to change this code to make the JWPlayer responsive like this. Thanks man
http://support.jwplayer.com/customer/portal/articles/1406644-making-jw-player-responsive
I also found this one. Pretty sure this is an easy fix but i could use some feed back as not to break my lucky streak of having a running server operating server.
http://support.jwplayer.com/custome...2590-support-responsive-design-dynamic-sizing
Were do I put it and do i need to change the {w} and the {h}

-Video- WMV video video:(?P<sval1>.*\.(wmv))$ video:{serviceVAL} EWRmedio_Services_VideoWMV 640 380 <script type="text/javascript"> $.getScript("{scriptjw}/silverlight.js") $.getScript("{scriptjw}/wmvplayer.js", function () { var elm = document.getElementById("embed_player"); var src = "{scriptjw}/wmvplayer.xaml"; var cfg = { file: "{external}/{serviceVAL}", autostart: '{apTF}', width: "{w}", height: "{h}", }; var ply = new jeroenwijering.Player(elm,src,cfg); }); </script> 1
 
I Think These Are What I Need To change. I'll try them first.
width: "100%",
aspectratio: "16:9",
stretching: "exactfit",
expandedBufferTime: "100",
accelerated: 'true',
wmode: "transparent",
 
You can just change the embed HTML code.
That was easy enough. I just changed the size to 100%. I lose the bar (play, pause, volume function)when using my phone but that is not a big deal because it looks a lot better now. Problem solved
 
I found that the "EWRmedio_MediaView_Sidebar" "create new Playlist" is breaking out of the container. I cannot figure out what to change. Here is the code.
<xen:sidebar>

<xen:if is="{$playlist}">
<div class="section" id="Playlist">

<div class="secondaryContent mediaSmall">
<h3>{xen:phrase playlist_details}</h3>

<div style="font-size: 1.3em; margin-bottom: 10px; text-align: center;">
<b><a href="{xen:link 'media/playlist', $playlist}">{$playlist.playlist_name}</a></b>
</div>

<ul>
<xen:if is="{$playlist.prev}">
<li>
<div class="mediaContent">
<div style="position: relative;" title="{$playlist.prev.media_title}">
<div class="overlays" style="bottom: 7px; right: 5px;"><b>{$playlist.prev.media_minutes}:{$playlist.prev.media_seconds}</b></div>
<a href="{xen:link 'media/media', $playlist.prev, 'id={$playlist.playlist_id}'}"><img src="{xen:helper medio, $playlist.prev}" border="0" style="width: 100%;" alt="{$playlist.prev.media_title}" /></a>
</div>
<b>&laquo; {xen:phrase previous}</b>
</div>
</li>
<xen:else />
<li><div class="mediaContent">
<img src="styles/8wayrun/media_blank.png" border="0" style="width: 100%;" alt="" /><br />
<span class="muted"><b>&laquo; {xen:phrase previous}</b></span>
</div></li>
</xen:if>

<xen:if is="{$playlist.next}">
<li>
<div class="mediaContent">
<div style="position: relative;" title="{$playlist.next.media_title}">
<div class="overlays" style="bottom: 7px; right: 5px;"><b>{$playlist.next.media_minutes}:{$playlist.next.media_seconds}</b></div>
<a href="{xen:link 'media/media', $playlist.next, 'id={$playlist.playlist_id}'}"><img src="{xen:helper medio, $playlist.next}" border="0" style="width: 100%;" alt="{$playlist.next.media_title}" /></a>
</div>
<b>{xen:phrase next} &raquo;</b>
</div>
</li>

<xen:else />
<li><div class="mediaContent">
<img src="styles/8wayrun/media_blank.png" border="0" style="width: 100%;" alt="" /><br />
<span class="muted"><b>{xen:phrase next} &raquo;</b></span>
</div></li>
</xen:if>
</ul>

<xen:if is="{$playlist.next} && {$media.service_name} == 'YouTube'">
<div style="margin-top: 5px; text-align: center;">
<label for="ctrl_autoplay">
<input type="checkbox" name="autoplay" value="1" id="ctrl_autoplay" CHECKED>
<span style="font-size: 1.1em;">{xen:phrase autoplay_next_item_in_playlist}</span>
<p class="muted">{xen:phrase only_supported_by_x, 'services=YouTube'}</p>
</label>
</div>

<script language="javascript">
var tag = document.createElement('script');
tag.src = "//www.youtube.com/iframe_api";
var firstScriptTag = document.getElementsByTagName('script')[0];
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);

function onYouTubeIframeAPIReady() {
new YT.Player('ytplayer', {
events: {
'onStateChange': onPlayerStateChange
}
});
}

function onPlayerStateChange(event) {
if (event.data == YT.PlayerState.ENDED && document.getElementById('ctrl_autoplay').checked) {
window.location="{xen:link 'media/media', $playlist.next, 'id={$playlist.playlist_id}'}";
}
}
</script>
</xen:if>
</div>
</div>
</xen:if>

<div class="section mediaDetails" id="Details">
<div class="secondaryContent">
<h3>
{xen:phrase media_details}
<div style="float: right;">
<xen:if is="{$perms.mod} || {$media.user_id} === {$visitor.user_id}">
(<a href="{xen:link 'media/media/edit', $media}">{xen:phrase edit}</a>)
</xen:if>
</div>
</h3>

<div style="text-align: center;">
<span style="font-size: 1.4em"><b>{xen:phrase date_x_at_time_y, 'date={xen:date $media.media_date}', 'time={xen:time $media.media_date}'}</b></span><br />
{xen:phrase posted_by} <a href="{xen:link 'media/user', $media}">{$media.username}</a><br />
<br />
{xen:raw $media.HTML}<br />
<br />

<xen:if hascontent="true">
<div class="pairsJustified" style="margin-left: 30px; margin-right: 30px;">
<xen:contentcheck>
<xen:foreach loop="$customs" value="$custom">
<dl>
<dt>{$custom.name}:</dt>
<dd>{$custom.value}</dd>
</dl>
</xen:foreach>
</xen:contentcheck>
</div>
<br />
</xen:if>

<xen:include template="EWRmedio_Bit_Keywords" />
<xen:include template="EWRmedio_Bit_Users" />

<div id="mediaStats">
<span style="font-size: 1.4em"><b><a href="{xen:link 'media/category', $media}">{$media.category_name}</a></b></span><br />
{xen:phrase comments}: {$media.media_comments} - {xen:phrase likes}: {$media.media_likes} - {xen:phrase views}: {$media.media_views}<br />
<br />
</div>

<input type="text" name="media_url" value="{xen:link 'full:media/media', $media}" readonly="readonly" class="textCtrl" style="width: 200px;" onclick="this.focus(); this.select()" /><br />
<input type="text" name="bbcode" value="[medio]{$media.media_id}[/medio]" readonly="readonly" class="textCtrl" style="width: 200px;" onclick="this.focus(); this.select()" />
</div>
</div>
</div>

<xen:if is="{$perms.keyword}">
<div class="section" id="Keywords">
<div class="secondaryContent">
<h3>{xen:phrase tag_keywords}</h3>

<div style="text-align: center;">
<form action="{xen:link 'media/media/keywords', $media}" method="post" class="KeywordEdit AutoValidator">
<input type="search" name="keywords" value="" id="keywordAdd" placeholder="{xen:phrase media_keyword}..." results="0" class="textCtrl AutoComplete"
data-autoSubmit="true" data-acurl="{xen:link media/keyword/find}" autocomplete="off" style="width: 200px;" />
<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>
</div>
</div>
</div>

<div class="section" id="Users">
<div class="secondaryContent">
<h3>{xen:phrase tag_users}</h3>

<div style="text-align: center;">
<form action="{xen:link 'media/media/users', $media}" method="post" class="UserEdit AutoValidator">
<input type="search" name="users" value="" id="userAdd" placeholder="{xen:phrase media_username}..." results="0" class="textCtrl AutoComplete"
data-autoSubmit="true" autocomplete="off" style="width: 200px;" />
<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>
</div>
</div>
</div>
</xen:if>

<xen:if is="{$perms.playlist}">
<div class="section" id="Playlists">
<div class="secondaryContent">
<h3>{xen:phrase add_to_playlist}</h3>

<form action="{xen:link 'media/playlist/addto'}" method="post" style="text-align: center;">
<select name="playlist_id" id="ctrl_playlist" class="textCtrl autoSize" style="margin-bottom: 10px;">
<option value="0">({xen:phrase create_new_playlist})</option>
<xen:if is="{$playlistList}">
<xen:foreach loop="$playlistList" value="$list">
<option value="{$list.playlist_id}">{xen:raw $list.playlist_name}</option>
</xen:foreach>
</xen:if>
</select>

<input type="submit" value="{xen:phrase add_to_playlist}" name="submit" accesskey="s" class="button primary" />

<input type="hidden" name="media_id" value="{$media.media_id}" />
<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>
</div>
</div>
</xen:if>

<xen:include template="sidebar_share_page">
<xen:set var="$url">{xen:link canonical:media/media, $media}</xen:set>
</xen:include>

</xen:sidebar>
 
Is there a way to make keywords and user tags go through the moderation system if they don't have the bypass moderation permission?
 
Last edited:
Hello,

How can I widen the sidebar, without change in other areas the size? so NOT forumlist, threadslist and the rest...
Just the sidebar in XenMedio.
 
Is it possible to add the possibility to attach a prefix to threads created with XenMedio?

Also, How can I change the design from them inside the XenPorta's RecentNews block ? I mean I thought that the text I added into the video would be integrated within the block but the resultat isn't what I expected to be :/

494902aceb.jpg
 
In the free version of xenmedio:
When I upload a video. With a title longer than 100 characters and the theme is automatically created, I get the message that the title is too long. Nevertheless, the video is uploaded, but does not create a topic! Can not automatically abbreviate to 100 characters, the topic title?

Is that bug not in the paid version?

Hope for an answer, because I would like to buy it!
Thanks

Regards
 
Top Bottom