Real Stories, Real Voices: An Experience You Don’t Want To Miss



allow mobile = fake
enable prev = 100

if (navigator.userAgent.match(/Android|BlackBerry|Apple iphone|iPad|iPod|Opera Mini|IEMobile/i))
mobile = correct

functionality rotateOn(id)
let tshid = [“shape” + id]
permit tsh = doc.getElementById(tshid)
tsh.classList.add(“condition-rotate”)

perform rotateOff(id)
let tshid = [“shape” + id]
permit tsh = document.getElementById(tshid)
tsh.classList.get rid of(“form-rotate”)

perform audioOn(id)

// Buttons
permit ionID = [‘icon-on’ + id]
let iconPlay = document.getElementById(ionID)
iconPlay.design.display = “none”

let ioffID = [‘icon-off’ + id]
permit iconPause = document.getElementById(ioffID)
iconPause.design and style.show = “block”

// Visualization
rotateOn(id)

function audioOff(id)

// Buttons
enable ionID = [‘icon-on’ + id]
enable iconPlay = document.getElementById(ionID)
iconPlay.design and style.exhibit = “block”

let ioffID = [‘icon-off’ + id]
enable iconPause = doc.getElementById(ioffID)
iconPause.type.display screen = “none”

// Visualization
rotateOff(id)

purpose activateAudio(id)

for (let e = e < count e++) // Pause all audio and reset to start let afReset = ['video' + e] let audReset = document.getElementById(afReset) //let vzReset = ['vizvideo' + e] //let vizReset = document.getElementById(vzReset) // Reset icon to play //let iReset = ['icon' + e] //let iconReset = document.getElementById(iReset) ///iconReset.classList.remove(&#039tmp-aud-pause&#039) // Ignore the selected audio if (e != id) audReset.pause() rotateOff(e) audioOff(e) // Play selected audio let afPlay = ['video' + id] let audPlay = document.getElementById(afPlay) // let vzPlay = ['vizvideo' + id] // let vizPlay = document.getElementById(vzPlay) let iPlay = ['icon' + id] let iconPlay = document.getElementById(iPlay) if (audPlay.paused == true) //iconPlay.classList.add(&#039tmp-aud-pause&#039) audPlay.play() rotateOn(id) audioOn(id) else //iconPlay.classList.remove(&#039tmp-aud-pause&#039) audPlay.pause() rotateOff(id) audioOff(id) function formatDuration(d) let m = parseInt(d / 60, 10) let s = Math.round(d % 60) let mp = &#039&#039 let sp = &#039&#039 if (m < 10) mp = &#0390&#039 if (s audPlay.pause() audPlay.currentTime = 0 durPlay.innerHTML = formatDuration(audPlay.duration) ) function toggleAudio(id) // Stop other players from playing, start or pause selected audio activateAudio(id) // Monitor the selected audio, for end and duration monitorAudio(id) function replayAudio(id) let afPlay = ['video' + id] let audPlay = document.getElementById(afPlay) let ionID = ['icon-on' + id] let iconPlay = document.getElementById(ionID) iconPlay.style.display = "none" let ioffID = ['icon-off' + id] let iconPause = document.getElementById(ioffID) iconPause.style.display = "block" rotateOn(id) audPlay.play() audPlay.currentTime = 0 if(prev != id) let prPlay = ['video' + prev] let prevPlay = document.getElementById(prPlay) prevPlay.pause() rotateOff(prev) audioOff(prev) monitorAudio(id) // Find all the audio players and populate with ids and functions let count function setupMedia() // Get all media players let m = document.getElementsByClassName('tmp-media') // Get the media file container let mf = document.getElementsByClassName('tmp-media-file') // Get the video tag for the media file let mfv = document.querySelectorAll(".tmp-media-file video") // Get the visualizer container //let viz = document.getElementsByClassName("tmp-visualizer") // Get the visualizer video tag // let vizv = document.querySelectorAll(".tmp-visualizer video") // Get the progress container // let prog = document.getElementsByClassName("tmp-progress") // Get the duration container let dur = document.getElementsByClassName("tmp-duration") // Get the current time container let time = document.getElementsByClassName("tmp-time") // Get the controls container let cntrl = document.getElementsByClassName("tmp-controls") // Get the on icon let iconon = document.getElementsByClassName("tmp-icon-on") // Get the off icon let iconoff = document.getElementsByClassName("tmp-icon-off") // Get the replay icon let iconrp = document.getElementsByClassName("tmp-icon-replay") // Get the shape file let tsh = document.getElementsByClassName("tmp-shape") let lng = 3 // m.length for (let e = 0 e < lng e++) // Setup &#039tmp-media&#039 let mID = ['media' + e] m[e].setAttribute(&#039id&#039, mID) // Setup &#039tmp-media-file&#039 let mfID = ['mediafile' + e] mf[e].setAttribute(&#039id&#039, mfID) // Setup &#039tmp-media-file video&#039 let mfvID = ['video' + e] mfv[e].setAttribute(&#039id&#039, mfvID) // Setup &#039tmp-visualizer&#039 // let vizID = ['viz' + e] // viz[e].setAttribute(&#039id&#039, vizID) // Setup &#039tmp-visualizer video&#039 // let vizvID = ['vizvideo' + e] // vizv[e].setAttribute(&#039id&#039, vizvID) // Setup &#039tmp-progress&#039 //let progID = ['prog' + e] //prog[e].setAttribute(&#039id&#039, progID) // Setup &#039tmp-duration&#039 let durID = ['dur' + e] dur[e].setAttribute(&#039id&#039, durID) dur[e].innerHTML = formatDuration(mfv[e].duration) // Setup &#039tmp-time&#039 let timeID = ['time' + e] time[e].setAttribute(&#039id&#039, timeID) // Setup &#039tmp-controls&#039 let cntrlID = ['controls' + e] cntrl[e].setAttribute(&#039id&#039, cntrlID) // Setup &#039tmp-icon-on&#039 let ionID = ['icon-on' + e] iconon[e].setAttribute(&#039id&#039, ionID) // Setup &#039tmp-icon-off&#039 let ioffID = ['icon-off' + e] iconoff[e].setAttribute(&#039id&#039, ioffID) // Setup &#039tmp-icon-replay&#039 let irpID = ['icon-replay' + e] iconrp[e].setAttribute(&#039id&#039, irpID) // Add the toggle play/pause to the icons let audFunc = ['toggleAudio(' + e + ')'] let audrpFunc = ['replayAudio(' + e + ')'] iconon[e].setAttribute(&#039onclick&#039, audFunc) iconoff[e].setAttribute(&#039onclick&#039, audFunc) iconrp[e].setAttribute(&#039onclick&#039, audrpFunc) // and to the visualizer //viz[e].setAttribute(&#039onclick&#039, audFunc) // Setup shape let tshid = ['shape' + e] tsh[e].setAttribute(&#039id&#039, tshid) // Store the number of audio players count = m.length // Cleanup m,mf,mfv,dur,time,cntrl,iconon,iconoff,tsh,(iconrp= undefined) function setup() setupMedia() /* Preload */ function ready(e)(document.attachEvent?"complete"===document.readyState:"loading"!==document.readyState)?e():document.addEventListener("DOMContentLoaded",e)document.onmouseleave=function()window.isReady=!1,window.addEventListener("resize",function()window.isReady=!1),window.isReady=void 0!==window.isReady&&window.isReady,ready(function()var e=setInterval(function()window.imagesLoaded&&(imagesLoaded("#tmp-load",background:!0,function()window.isReady=!1,clearInterval(e)),clearInterval(e)),100)if(!1!==window.isReady)returnwindow.isReady=!0const t=setTimeout(function()clearTimeout(t),setup(),300))


Real Stories, Real Voices: An Experience You Don’t Want To Miss

Real Stories, Real Voices: An Experience You Don’t Want To Miss

In a digital-centric world rife with filters, highlight reels, and surface-level connections, being real — in all of its messy, complicated, beautiful glory — can feel staggeringly radical. In partnership with Aerie, we’re interested only in peeling back the layers and telling powerful stories that are authentic. Meaningful. Real. And we’re asking you to join us.


Real Stories, Real Voices: An Experience You Don’t Want To Miss

Real Stories, Real Voices: An Experience You Don’t Want To Miss

LISTEN TO OUR STORIES


Real Stories, Real Voices: An Experience You Don’t Want To Miss

00:00
00:00


Real Stories, Real Voices: An Experience You Don’t Want To Miss
00:00
00:00


Real Stories, Real Voices: An Experience You Don’t Want To Miss
00:00
00:00




Real Stories, Real Voices: An Experience You Don’t Want To Miss

Real Stories, Real Voices: An Experience You Don’t Want To Miss

How I Treat Myself Is Key To Putting An End To Body Image Anxiety

BY LAUREN CHAN

Body image isn’t something you “fix” once.

READ ON


Real Stories, Real Voices: An Experience You Don’t Want To Miss


Real Stories, Real Voices: An Experience You Don’t Want To Miss


Real Stories, Real Voices: An Experience You Don’t Want To Miss




Real Stories, Real Voices: An Experience You Don’t Want To Miss

Real Stories, Real Voices: An Experience You Don’t Want To Miss

4 New York Women On Finding Love, Body Acceptance & Creative Expression In The City

BY ANDREA CHENG

The places that hold the most meaning to them.

READ ON


Real Stories, Real Voices: An Experience You Don’t Want To Miss


Real Stories, Real Voices: An Experience You Don’t Want To Miss


Real Stories, Real Voices: An Experience You Don’t Want To Miss

Like what you see? How about some more R29 goodness, right here?



Source link

Comments are closed.